linux/arch/x86/mm
Rafael J. Wysocki 97a70e548b x86, hibernate: fix breakage on x86_32 with CONFIG_NUMA set
Impact: fix crash during hibernation on 32-bit NUMA

The NUMA code on x86_32 creates special memory mapping that allows
each node's pgdat to be located in this node's memory.  For this
purpose it allocates a memory area at the end of each node's memory
and maps this area so that it is accessible with virtual addresses
belonging to low memory.  As a result, if there is high memory,
these NUMA-allocated areas are physically located in high memory,
although they are mapped to low memory addresses.

Our hibernation code does not take that into account and for this
reason hibernation fails on all x86_32 systems with CONFIG_NUMA=y and
with high memory present.  Fix this by adding a special mapping for
the NUMA-allocated memory areas to the temporary page tables created
during the last phase of resume.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2008-11-12 23:28:51 +01:00
..
dump_pagetables.c
extable.c
fault.c
gup.c
highmem_32.c
hugetlbpage.c
init_32.c
init_64.c
iomap_32.c
ioremap.c
k8topology_64.c
kmmio.c
Makefile
memtest.c
mmap.c
mmio-mod.c
numa_32.c
numa_64.c
pageattr-test.c
pageattr.c
pat.c
pf_in.c
pf_in.h
pgtable.c
pgtable_32.c
srat_32.c
srat_64.c
testmmiotrace.c