From: Nick Piggin Date: Tue, 26 Sep 2006 06:31:23 +0000 (-0700) Subject: [PATCH] mm: remove_mapping() safeness X-Git-Tag: v2.6.19-rc1~1194 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=28e4d965e6131ace1e813e93aebca89ac6b82dc1;p=pandora-kernel.git [PATCH] mm: remove_mapping() safeness Some users of remove_mapping had been unsafe. Modify the remove_mapping precondition to ensure the caller has locked the page and obtained the correct mapping. Modify callers to ensure the mapping is the correct one. [hugh@veritas.com: swapper_space fix] Signed-off-by: Nick Piggin Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed