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] Better default for dom0 memory.

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] Better default for dom0 memory.
From: BitKeeper Bot <riel@xxxxxxxxxxx>
Date: Wed, 13 Apr 2005 22:13:14 +0000
Delivery-date: Wed, 13 Apr 2005 23:03:53 +0000
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/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 Development List <xen-devel@xxxxxxxxxxxxxxxxxxx>
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
ChangeSet 1.1159.256.91, 2005/04/13 23:13:14+01:00, iap10@xxxxxxxxxxxxxxxxxxx

        Better default for dom0 memory.
        
        Add Xen cmd line parameter to set max number of CPUs ("maxcpus"). 
        This doesn't change the enumeration order, so you may wish to use 
        it in conjunction with 'noht'.



 setup.c   |    2 +-
 smpboot.c |    4 +++-
 2 files changed, 4 insertions(+), 2 deletions(-)


diff -Nru a/xen/arch/x86/setup.c b/xen/arch/x86/setup.c
--- a/xen/arch/x86/setup.c      2005-04-13 19:04:04 -04:00
+++ b/xen/arch/x86/setup.c      2005-04-13 19:04:04 -04:00
@@ -22,7 +22,7 @@
 #include <asm/e820.h>
 
 /* opt_dom0_mem: Kilobytes of memory allocated to domain 0. */
-static unsigned int opt_dom0_mem = 16000;
+static unsigned int opt_dom0_mem = 64000;
 integer_param("dom0_mem", opt_dom0_mem);
 
 /*
diff -Nru a/xen/arch/x86/smpboot.c b/xen/arch/x86/smpboot.c
--- a/xen/arch/x86/smpboot.c    2005-04-13 19:04:04 -04:00
+++ b/xen/arch/x86/smpboot.c    2005-04-13 19:04:04 -04:00
@@ -51,8 +51,10 @@
 
 #ifdef CONFIG_SMP
 
-/* Setup configured maximum number of CPUs to activate */
+/* Cconfigured maximum number of CPUs to activate. We name the parameter 
+"maxcpus" rather than max_cpus to be compatible with Linux */
 static int max_cpus = -1;
+integer_param("maxcpus", max_cpus); 
 
 /* Total count of live CPUs */
 int smp_num_cpus = 1;

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>