Re: [PATCH 1/6] Revert "mm: mempolicy: Let vma_merge and vma_split handle vma->vm_policy linkages"
From: Christoph Lameter <hidden>
Date: 2012-06-11 14:43:44
Also in:
linux-mm, lkml
From: Christoph Lameter <hidden>
Date: 2012-06-11 14:43:44
Also in:
linux-mm, lkml
On Mon, 11 Jun 2012, kosaki.motohiro@gmail.com wrote:
From: KOSAKI Motohiro <redacted> commit 05f144a0d5 "mm: mempolicy: Let vma_merge and vma_split handle vma->vm_policy linkages" removed a vma->vm_policy updates. But it is a primary purpose of mbind_range(). Now, mbind(2) is no-op in several case unintentionally. It is not ideal fix. This patch reverts it.
Rewritten changelog: commit 05f144a0d5 "mm: mempolicy: Let vma_merge and vma_split handle vma->vm_policy linkages" removed policy_vma() but the function is needed in this patchset. (It is not clear to me what the last sentences mean. AFAICT the code for policy_vma() still exists in another function prior to this patch)