]> git.karo-electronics.de Git - karo-tx-linux.git/commit
revert "mm: mempolicy: Let vma_merge and vma_split handle vma->vm_policy linkages"
authorKOSAKI Motohiro <kosaki.motohiro@gmail.com>
Mon, 8 Oct 2012 23:29:14 +0000 (16:29 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 9 Oct 2012 07:22:21 +0000 (16:22 +0900)
commit8d34694c1abf29df1f3c7317936b7e3e2e308d9b
treecceb71f9128e6e8ed6d3cf8ce90de64a421a521d
parent1fb3f8ca0e9222535a39b884cb67a34628411b9f
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 <kosaki.motohiro@jp.fujitsu.com>
Signed-off-by: Mel Gorman <mgorman@suse.de>
Cc: Christoph Lameter <cl@linux.com>
Cc: Josh Boyer <jwboyer@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/mempolicy.c