diff options
author | Gerald Schaefer <gerald.schaefer@de.ibm.com> | 2012-02-24 18:01:29 +0100 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2012-02-24 18:01:36 +0100 |
commit | 892365ab4d29ed861709ee8611b53587ca2bb75f (patch) | |
tree | e66d38b909ee69025d996a37cb27e2f1ad8c4210 /net/ipv4/tcp_highspeed.c | |
parent | [S390] crash_dump: remove duplicate include (diff) | |
download | linux-892365ab4d29ed861709ee8611b53587ca2bb75f.tar.xz linux-892365ab4d29ed861709ee8611b53587ca2bb75f.zip |
[S390] memory hotplug: prevent memory zone interleave
This fixes a kernel oops with CONFIG_DEBUG_VM triggered by a
VM_BUG_ON(bad_range()): kernel BUG at mm/page_alloc.c:748.
With memory hotplug on System z, it is possible that the memory
online/offline state is preserved over a system restart, e.g. there
may be offline memory blocks in ZONE_DMA or ZONE_NORMAL. So far,
the offline memory range has always been added to ZONE_MOVABLE during
system start, so that it was possible to have ZONE_MOVABLE interleave
with ZONE_DMA or ZONE_NORMAL. This patch fixes that by checking for
zone overlap before adding memory.
Signed-off-by: Gerald Schaefer <gerald.schaefer@de.ibm.com>
Reviewed-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'net/ipv4/tcp_highspeed.c')
0 files changed, 0 insertions, 0 deletions