1. 16 6月, 2011 2 次提交
    • K
      xen: Fix compile warning when CONFIG_SMP is not defined. · b5328cd1
      Konrad Rzeszutek Wilk 提交于
      .. which is quite benign.
      
      drivers/xen/events.c:398: warning: unused variable ‘desc’
      Signed-off-by: NKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
      b5328cd1
    • A
      xen: support CONFIG_MAXSMP · 900cba88
      Andrew Jones 提交于
      The MAXSMP config option requires CPUMASK_OFFSTACK, which in turn
      requires we init the memory for the maps while we bring up the cpus.
      MAXSMP also increases NR_CPUS to 4096. This increase in size exposed an
      issue in the argument construction for multicalls from
      xen_flush_tlb_others. The args should only need space for the actual
      number of cpus.
      
      Also in 2.6.39 it exposes a bootup problem.
      
      BUG: unable to handle kernel NULL pointer dereference at           (null)
      IP: [<ffffffff8157a1d3>] set_cpu_sibling_map+0x123/0x30d
      ...
      Call Trace:
      [<ffffffff81039a3f>] ? xen_restore_fl_direct_reloc+0x4/0x4
      [<ffffffff819dc4db>] xen_smp_prepare_cpus+0x36/0x135
      ..
      
      CC: stable@kernel.org
      Signed-off-by: NAndrew Jones <drjones@redhat.com>
      [v2: Updated to compile on 3.0]
      [v3: Updated to compile when CONFIG_SMP is not defined]
      Signed-off-by: NKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
      900cba88
  2. 09 6月, 2011 1 次提交
  3. 04 6月, 2011 1 次提交
  4. 31 5月, 2011 1 次提交
  5. 30 5月, 2011 35 次提交