WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] [XEN] Reduce default maximum allocation o

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] [XEN] Reduce default maximum allocation order from 2^20 pages to 2^11.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 08 Jun 2006 17:15:13 +0000
Delivery-date: Thu, 08 Jun 2006 10:16:59 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] [XEN] Reduce default maximum allocation order from 2^20 pages to 2^11., Xen patchbot-unstable <=