diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2005-05-01 17:58:57 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-05-01 17:58:57 +0200 |
commit | c9e3735359ac2d74ee61c6f1e5724f4a6db570bf (patch) | |
tree | 381204a24f4378d3c8d898f8e0210b1b97f5f248 /include/asm-s390/ptrace.h | |
parent | [PATCH] s390: idle timer setup (diff) | |
download | linux-c9e3735359ac2d74ee61c6f1e5724f4a6db570bf.tar.xz linux-c9e3735359ac2d74ee61c6f1e5724f4a6db570bf.zip |
[PATCH] s390: fix memory holes and cleanup setup_arch
The memory setup didn't take care of memory holes and this makes the memory
management think there would be more memory available than there is in
reality. That causes the OOM killer to kill processes even if there is enough
memory left that can be written to the swap space.
The patch fixes this by using free_area_init_node with an array of memory
holes instead of free_area_init. Further the patch cleans up the code in
setup.c by splitting setup_arch into smaller pieces.
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-s390/ptrace.h')
0 files changed, 0 insertions, 0 deletions