diff options
author | Jan Kiszka <jan.kiszka@web.de> | 2006-07-14 09:23:56 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-07-15 06:53:51 +0200 |
commit | 8757d5fa6b75e8ea906baf0309d49b980e7f9bc9 (patch) | |
tree | ec3c1a505b5254133cd453c922beb8db226d03e6 /mm/memory.c | |
parent | [PATCH] IB/core: use correct gfp_mask in sa_query (diff) | |
download | linux-8757d5fa6b75e8ea906baf0309d49b980e7f9bc9.tar.xz linux-8757d5fa6b75e8ea906baf0309d49b980e7f9bc9.zip |
[PATCH] mm: fix oom roll-back of __vmalloc_area_node
__vunmap must not rely on area->nr_pages when picking the release methode
for area->pages. It may be too small when __vmalloc_area_node failed early
due to lacking memory. Instead, use a flag in vmstruct to differentiate.
Signed-off-by: Jan Kiszka <jan.kiszka@web.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'mm/memory.c')
0 files changed, 0 insertions, 0 deletions