[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] [XEN] Reduce default maximum allocation order from 2^20 pages to 2^11.
# HG changeset patch # User kaf24@xxxxxxxxxxxxxxxxxxxx # Node ID 4f1e39ec05d6ec711f9ba4a66a3653ed3e168311 # Parent 2db7b3627da4d38134ba0cfd740ce3ee73c3865e [XEN] Reduce default maximum allocation order from 2^20 pages to 2^11. On x86 this corresponds to a maximum aligned contiguous allocation of 8MB. This can be overridden by architectures if need be. Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx> --- xen/include/xen/mm.h | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff -r 2db7b3627da4 -r 4f1e39ec05d6 xen/include/xen/mm.h --- a/xen/include/xen/mm.h Thu Jun 08 16:48:23 2006 +0100 +++ b/xen/include/xen/mm.h Thu Jun 08 16:51:39 2006 +0100 @@ -68,8 +68,11 @@ unsigned long avail_domheap_pages(void); #define ALLOC_DOM_DMA 1 -/* Up to 2^20 pages can be allocated at once. */ -#define MAX_ORDER 20 +#ifdef CONFIG_PAGEALLOC_MAX_ORDER +#define MAX_ORDER CONFIG_PAGEALLOC_MAX_ORDER +#else +#define MAX_ORDER 11 /* 2^11 contiguous pages */ +#endif /* Automatic page scrubbing for dead domains. */ extern struct list_head page_scrub_list; _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |