diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2005-05-01 08:58:57 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-05-01 08:58:57 -0700 |
commit | c9e3735359ac2d74ee61c6f1e5724f4a6db570bf (patch) | |
tree | 381204a24f4378d3c8d898f8e0210b1b97f5f248 /lib/int_sqrt.c | |
parent | 4b7e0706620e3947dc1685dfdbc1413404afb545 (diff) | |
download | kernel-crypto-c9e3735359ac2d74ee61c6f1e5724f4a6db570bf.tar.gz kernel-crypto-c9e3735359ac2d74ee61c6f1e5724f4a6db570bf.tar.xz kernel-crypto-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 'lib/int_sqrt.c')
0 files changed, 0 insertions, 0 deletions