diff options
author | Tim Deegan <Tim.Deegan@citrix.com> | 2010-09-01 11:23:49 +0100 |
---|---|---|
committer | Tim Deegan <Tim.Deegan@citrix.com> | 2010-09-01 11:23:49 +0100 |
commit | 09cae24637fb571d6216a7bd45e486a6c3d4d8e3 (patch) | |
tree | 89c88446b851812f8615cc7d72cd3c5162ad8296 /xen/include/asm-x86/mm.h | |
parent | 3117617710bcfc3ff93a65b4defc0fc1bf4e64a2 (diff) | |
download | xen-09cae24637fb571d6216a7bd45e486a6c3d4d8e3.tar.gz xen-09cae24637fb571d6216a7bd45e486a6c3d4d8e3.tar.bz2 xen-09cae24637fb571d6216a7bd45e486a6c3d4d8e3.zip |
x86 shadow: allocate all shadow memory in single pages
now that multi-page shadows need not be contiguous.
Signed-off-by: Tim Deegan <Tim.Deegan@citrix.com>
Diffstat (limited to 'xen/include/asm-x86/mm.h')
-rw-r--r-- | xen/include/asm-x86/mm.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/xen/include/asm-x86/mm.h b/xen/include/asm-x86/mm.h index fdee0e0ba1..41290799ca 100644 --- a/xen/include/asm-x86/mm.h +++ b/xen/include/asm-x86/mm.h @@ -35,7 +35,7 @@ struct page_info union { /* Each frame can be threaded onto a doubly-linked list. * - * For unused shadow pages, a list of pages of this order; + * For unused shadow pages, a list of free shadow pages; * for multi-page shadows, links to the other pages in this shadow; * for pinnable shadows, if pinned, a list of all pinned shadows * (see sh_type_is_pinnable() for the definition of "pinnable" @@ -94,7 +94,7 @@ struct page_info __pdx_t back; } sh; - /* Page is on a free list (including shadow code free lists). */ + /* Page is on a free list. */ struct { /* Order-size of the free chunk this page is the head of. */ unsigned int order; @@ -259,9 +259,6 @@ struct spage_info #define PRtype_info "016lx"/* should only be used for printk's */ #endif -/* The order of the largest allocation unit we use for shadow pages */ -#define SHADOW_MAX_ORDER 2 /* Need up to 16k allocs for 32-bit on PAE/64 */ - /* The number of out-of-sync shadows we allow per vcpu (prime, please) */ #define SHADOW_OOS_PAGES 3 |