summaryrefslogtreecommitdiffstats
path: root/mm/Kconfig
diff options
context:
space:
mode:
authorAneesh Kumar K.V2016-12-13 01:44:29 +0100
committerLinus Torvalds2016-12-13 03:55:08 +0100
commit1dd38b6c27d59414e89c08dd1ae9677a8e12cbc4 (patch)
tree77d216598637e2365570434268ffff5bde987045 /mm/Kconfig
parentmm: add preempt points into __purge_vmap_area_lazy() (diff)
downloadkernel-qcow2-linux-1dd38b6c27d59414e89c08dd1ae9677a8e12cbc4.tar.gz
kernel-qcow2-linux-1dd38b6c27d59414e89c08dd1ae9677a8e12cbc4.tar.xz
kernel-qcow2-linux-1dd38b6c27d59414e89c08dd1ae9677a8e12cbc4.zip
mm: move vma_is_anonymous check within pmd_move_must_withdraw
Independent of whether the vma is for anonymous memory, some arches like ppc64 would like to override pmd_move_must_withdraw(). One option is to encapsulate the vma_is_anonymous() check for general architectures inside pmd_move_must_withdraw() so that is always called and architectures that need unconditional overriding can override this function. ppc64 needs to override the function when the MMU is configured to use hash PTE's. [bsingharora@gmail.com: reworked changelog] Link: http://lkml.kernel.org/r/20161113150025.17942-1-aneesh.kumar@linux.vnet.ibm.com Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> Acked-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com> Acked-by: Michael Ellerman <mpe@ellerman.id.au> (powerpc) Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Cc: Michael Neuling <mikey@neuling.org> Cc: Paul Mackerras <paulus@samba.org> Cc: Balbir Singh <bsingharora@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/Kconfig')
0 files changed, 0 insertions, 0 deletions