aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorYinghai Lu <[email protected]>2011-03-02 23:14:58 +0000
committerIngo Molnar <[email protected]>2011-03-04 14:20:19 +0000
commit3b28cf32cc32594710590685ee478f697ed4f328 (patch)
treebd6e1e60481a2fe2520825fce80e265558d244f2 /net/unix/af_unix.c
parentx86, build: Make sure mkpiggy fails on read error (diff)
downloadkernel-3b28cf32cc32594710590685ee478f697ed4f328.tar.gz
kernel-3b28cf32cc32594710590685ee478f697ed4f328.zip
x86, numa: Fix numa_emulation code with memory-less node0
This crash happens on a system that does not have RAM on node0. When numa_emulation is compiled in, and: 1. we boot the system without numa=fake... 2. or we boot the system with numa=fake=128 to make emulation fail we will get: [ 0.076025] ------------[ cut here ]------------ [ 0.080004] kernel BUG at arch/x86/mm/numa_64.c:788! [ 0.080004] invalid opcode: 0000 [#1] SMP [...] need to use early_cpu_to_node() directly, because cpu_to_apicid and apicid_to_node will return node0 that is not onlined. Signed-off-by: Yinghai Lu <[email protected]> Acked-by: Tejun Heo <[email protected]> Cc: David Rientjes <[email protected]> LKML-Reference: <[email protected]> Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions