]> 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>
Fri, 28 Sep 2012 00:19:10 +0000 (10:19 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 4 Oct 2012 05:03:12 +0000 (15:03 +1000)
commit44cf684c434c7a2a455aceb0e63bb5cc69ccb5ee
tree653fa36b3bb98f78d9bfccde24d3f80f2b32a010
parent5e3cc40fe55a4a4ad6331f45c968bbb491f7b1bb
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