]> 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>
Thu, 13 Sep 2012 00:58:33 +0000 (10:58 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 19 Sep 2012 05:30:00 +0000 (15:30 +1000)
commitfbb5a3dec240711b08a90fccda782b11afe18d36
tree527f05558d3aafd6d79fd27521532ab7e9455bb4
parent3d1f49fe608f15da0da259106a83ac9f0e81dcdb
Revert "mm: mempolicy: Let vma_merge and vma_split handle vma->vm_policy linkages"

05f144a0 ("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>
mm/mempolicy.c