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/
Home Products Support Community News


[Xen-changelog] [xen-4.1-testing] x86: use 'dom0_mem' to limit the numbe

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-4.1-testing] x86: use 'dom0_mem' to limit the number of pages for dom0
From: Xen patchbot-4.1-testing <patchbot@xxxxxxx>
Date: Mon, 22 Aug 2011 18:22:14 +0100
Delivery-date: Mon, 22 Aug 2011 10:22:21 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/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 David Vrabel <david.vrabel@xxxxxxxxxx>
# Date 1314004575 -3600
# Node ID 473d6cd9dddf1e573dfc129b7bc055e3e71a489f
# Parent  9dd0eb4f20d4500cecfe17dc50368d20906223a4
x86: use 'dom0_mem' to limit the number of pages for dom0

Use the 'dom0_mem' command line option to set the maximum number of
pages for dom0.  dom0 can use then use the XENMEM_maximum_reservation
memory op to automatically find this limit and reduce the size of any
page tables etc.

Signed-off-by: David Vrabel <david.vrabel@xxxxxxxxxx>
xen-unstable changeset:   23779:c56dd5eb0fa2
xen-unstable date:        Mon Aug 22 10:05:27 2011 +0100

diff -r 9dd0eb4f20d4 -r 473d6cd9dddf xen/arch/x86/domain_build.c
--- a/xen/arch/x86/domain_build.c       Mon Aug 22 10:14:14 2011 +0100
+++ b/xen/arch/x86/domain_build.c       Mon Aug 22 10:16:15 2011 +0100
@@ -253,6 +253,8 @@
+    d->max_pages = min(max_pages, avail);
     return nr_pages;

Xen-changelog mailing list

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-4.1-testing] x86: use 'dom0_mem' to limit the number of pages for dom0, Xen patchbot-4 . 1-testing <=