diff options
author | Andrew Jones <drjones@redhat.com> | 2009-12-18 10:31:31 +0100 |
---|---|---|
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2011-06-15 20:18:49 +0200 |
commit | 900cba8881b39dfbc7c8062098504ab93f5387a8 (patch) | |
tree | d08e43f817794ebc8eda1ea79b7662772a33529a /crypto/zlib.c | |
parent | xen: partially revert "xen: set max_pfn_mapped to the last pfn mapped" (diff) | |
download | linux-900cba8881b39dfbc7c8062098504ab93f5387a8.tar.xz linux-900cba8881b39dfbc7c8062098504ab93f5387a8.zip |
xen: support CONFIG_MAXSMP
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: Andrew Jones <drjones@redhat.com>
[v2: Updated to compile on 3.0]
[v3: Updated to compile when CONFIG_SMP is not defined]
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'crypto/zlib.c')
0 files changed, 0 insertions, 0 deletions