From: KOSAKI Motohiro Date: Mon, 8 Oct 2012 23:29:14 +0000 (-0700) Subject: revert "mm: mempolicy: Let vma_merge and vma_split handle vma->vm_policy linkages" X-Git-Tag: v3.7-rc1~74^2~137 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8d34694c1abf29df1f3c7317936b7e3e2e308d9b;p=pandora-kernel.git revert "mm: mempolicy: Let vma_merge and vma_split handle vma->vm_policy linkages" Commit 05f144a0d5c2 ("mm: mempolicy: Let vma_merge and vma_split handle vma->vm_policy linkages") removed vma->vm_policy updates code but it is the purpose of mbind_range(). Now, mbind_range() is virtually a no-op and while it does not allow memory corruption it is not the right fix. This patch is a revert. [mgorman@suse.de: Edited changelog] Signed-off-by: KOSAKI Motohiro Signed-off-by: Mel Gorman Cc: Christoph Lameter Cc: Josh Boyer Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed