summaryrefslogtreecommitdiffstats
path: root/mm/slab.c
diff options
context:
space:
mode:
authorYasunori Goto2007-10-16 10:25:40 +0200
committerLinus Torvalds2007-10-16 18:42:59 +0200
commit58c0a4a7864b2dad6da4090813322fcd29a11c92 (patch)
tree239da4074ced93ee6918fdb03e3839ef721191bb /mm/slab.c
parentmemoryless nodes: fixup uses of node_online_map in generic code (diff)
downloadkernel-qcow2-linux-58c0a4a7864b2dad6da4090813322fcd29a11c92.tar.gz
kernel-qcow2-linux-58c0a4a7864b2dad6da4090813322fcd29a11c92.tar.xz
kernel-qcow2-linux-58c0a4a7864b2dad6da4090813322fcd29a11c92.zip
Fix panic of cpu online with memory less node
When a cpu is onlined on memory-less-node box, kernel panics due to touch NULL pointer of pgdat->kswapd. Current kswapd runs only nodes which have memory. So, calling of set_cpus_allowed() is not necessary for memory-less node. This is fix for it. Signed-off-by: Yasunori Goto <y-goto@jp.fujitsu.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/slab.c')
0 files changed, 0 insertions, 0 deletions