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 /drivers/s390/cio/device_ops.c | |
parent | 4b7e0706620e3947dc1685dfdbc1413404afb545 (diff) |
[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 'drivers/s390/cio/device_ops.c')
0 files changed, 0 insertions, 0 deletions