WSL2-Linux-Kernel/arch/m68k/mm
Michael Schmitz 4aac0b4815 m68k/mm: Set all online nodes in N_NORMAL_MEMORY
For m68k, N_NORMAL_MEMORY represents all nodes that have present memory
since it does not support HIGHMEM.  This patch sets the bit at the time
node_present_pages has been set by free_area_init_node.
At the time the node is brought online, the node state would have to be
done unconditionally since information about present memory has not yet
been recorded.

If N_NORMAL_MEMORY is not accurate, slub may encounter errors since it
uses this nodemask to setup per-cache kmem_cache_node data structures.

This pach is an alternative to the one proposed by David Rientjes
<rientjes@google.com> attempting to set node state immediately when
bringing the node online.

Signed-off-by: Michael Schmitz <schmitz@debian.org>
Tested-by: Thorsten Glaser <tg@debian.org>
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
CC: stable@kernel.org
2011-04-27 17:36:00 +02:00
..
Makefile m68k: merge m68k and m68knommu arch directories 2011-03-25 14:05:13 +10:00
Makefile_mm m68k: merge m68k and m68knommu arch directories 2011-03-25 14:05:13 +10:00
Makefile_no m68k: merge m68k and m68knommu arch directories 2011-03-25 14:05:13 +10:00
cache.c [PATCH] m68k: move cache functions into separate file 2005-09-05 00:06:19 -07:00
fault.c m68k: Add helper function handle_kernel_fault() 2011-03-16 19:10:40 +01:00
hwtest.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
init.c m68k: merge m68k and m68knommu arch directories 2011-03-25 14:05:13 +10:00
init_mm.c m68k: merge m68k and m68knommu arch directories 2011-03-25 14:05:13 +10:00
init_no.c m68k: merge m68k and m68knommu arch directories 2011-03-25 14:05:13 +10:00
kmap.c m68k: merge m68k and m68knommu arch directories 2011-03-25 14:05:13 +10:00
kmap_mm.c m68k: merge m68k and m68knommu arch directories 2011-03-25 14:05:13 +10:00
kmap_no.c m68k: merge m68k and m68knommu arch directories 2011-03-25 14:05:13 +10:00
memory.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
motorola.c m68k/mm: Set all online nodes in N_NORMAL_MEMORY 2011-04-27 17:36:00 +02:00
sun3kmap.c m68k: missing exports 2007-07-20 08:24:49 -07:00
sun3mmu.c mm: drop unneeded pgdat argument from free_area_init_node() 2008-07-24 10:47:16 -07:00