From: Jan Kiszka Date: Fri, 14 Jul 2006 07:23:56 +0000 (-0700) Subject: [PATCH] mm: fix oom roll-back of __vmalloc_area_node X-Git-Tag: v2.6.18-rc2~69 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8757d5fa6b75e8ea906baf0309d49b980e7f9bc9;p=pandora-kernel.git [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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed