]> git.hungrycats.org Git - linux/commit
[PATCH] Fix i386 bootup with HIGHMEM+SLAB_DEBUG+NUMA and no real
authorAndi Kleen <ak@muc.de>
Sat, 17 Jul 2004 13:49:01 +0000 (06:49 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Sat, 17 Jul 2004 13:49:01 +0000 (06:49 -0700)
commit6bf1545b847e64e7f048fda19c24297c95a00cf6
tree4006ef304721a0cca6f042472b857d96c011a672
parent32f5543d552793dfdc2576668422b7fbdf32d01c
[PATCH] Fix i386 bootup with HIGHMEM+SLAB_DEBUG+NUMA and no real

For some reason I booted a NUMA and SLAB_DEBUG i386 kernel on a non
NUMA 512MB machine.  This caused an oops at bootup in change_page_attr.
The reason was that highmem_start_start page ended up zero and
that triggered the highmem check in change_page_attr when the
slab debug code would unmap a kernel mapping.

Fix is straightforward: if there is no highmem set highmem_start_page
to max_low_pfn+1
arch/i386/mm/discontig.c