mirror of
https://github.com/xen-project/xen.git
synced 2026-10-30 03:00:05 +01:00
bitkeeper revision 1.1159.258.91 (425d997aPeMVaT8eLqm62dnz9Sko4w)
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'.
This commit is contained in:
1 parent
e4c215974f
commit
c484bcfab7
2 files changed
+4
-2
No files matched your search
@@ -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);
|
||||
|
||||
/*
|
||||
|
||||
@@ -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;
|
||||
|
||||