direct-io.hg

changeset 4520:e82a0bb5637c

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'.
author iap10@tetris.cl.cam.ac.uk
date Wed Apr 13 22:13:14 2005 +0000 (2005-04-13)
parents b5bf5415d400
children ecf23e1373cc
files xen/arch/x86/setup.c xen/arch/x86/smpboot.c
line diff
     1.1 --- a/xen/arch/x86/setup.c	Mon Apr 11 14:00:25 2005 +0000
     1.2 +++ b/xen/arch/x86/setup.c	Wed Apr 13 22:13:14 2005 +0000
     1.3 @@ -22,7 +22,7 @@
     1.4  #include <asm/e820.h>
     1.5  
     1.6  /* opt_dom0_mem: Kilobytes of memory allocated to domain 0. */
     1.7 -static unsigned int opt_dom0_mem = 16000;
     1.8 +static unsigned int opt_dom0_mem = 64000;
     1.9  integer_param("dom0_mem", opt_dom0_mem);
    1.10  
    1.11  /*
     2.1 --- a/xen/arch/x86/smpboot.c	Mon Apr 11 14:00:25 2005 +0000
     2.2 +++ b/xen/arch/x86/smpboot.c	Wed Apr 13 22:13:14 2005 +0000
     2.3 @@ -51,8 +51,10 @@
     2.4  
     2.5  #ifdef CONFIG_SMP
     2.6  
     2.7 -/* Setup configured maximum number of CPUs to activate */
     2.8 +/* Cconfigured maximum number of CPUs to activate. We name the parameter 
     2.9 +"maxcpus" rather than max_cpus to be compatible with Linux */
    2.10  static int max_cpus = -1;
    2.11 +integer_param("maxcpus", max_cpus); 
    2.12  
    2.13  /* Total count of live CPUs */
    2.14  int smp_num_cpus = 1;