]> 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>
Wed, 26 Sep 2012 01:33:16 +0000 (11:33 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 27 Sep 2012 07:25:43 +0000 (17:25 +1000)
commit6365507d029d2d9f5a0bdf88071c3c93bee79f6d
tree96c9ff55121ec5254d214659b44b2eb1f08c2552
parentdc2fe14fcac3662008da0667722668e3f00f0e50
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