From: Namhyung Kim Date: Wed, 25 May 2011 00:11:23 +0000 (-0700) Subject: mm: nommu: don't scan the vma list when deleting X-Git-Tag: v3.0-rc1~292 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b951bf2c4693bfc9744e11293be859209f65f579;p=pandora-kernel.git mm: nommu: don't scan the vma list when deleting Since commit 297c5eee3724 ("mm: make the vma list be doubly linked") made it a doubly linked list, we don't need to scan the list when deleting @vma. And the original code didn't update the prev pointer. Fix it too. Signed-off-by: Namhyung Kim Acked-by: Greg Ungerer Cc: David Howells Cc: Paul Mundt Cc: Geert Uytterhoeven Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed