[PATCH V3 1/2] mm: move vma_is_anonymous check within pmd_move_must_withdraw
mpe at ellerman.id.au
mpe at ellerman.id.au
Mon Nov 14 19:57:16 AEDT 2016
"Aneesh Kumar K.V" <aneesh.kumar at linux.vnet.ibm.com> writes:
> Architectures like ppc64 want to use page table deposit/withraw
> even with huge pmd dax entries. Allow arch to override the
> vma_is_anonymous check by moving that to pmd_move_must_withdraw
> function
>
> Acked-by: Kirill A. Shutemov <kirill.shutemov at linux.intel.com>
> Signed-off-by: Aneesh Kumar K.V <aneesh.kumar at linux.vnet.ibm.com>
> ---
> arch/powerpc/include/asm/book3s/64/pgtable.h | 3 ++-
> include/asm-generic/pgtable.h | 12 ------------
> mm/huge_memory.c | 18 ++++++++++++++++--
> 3 files changed, 18 insertions(+), 15 deletions(-)
Acked-by: Michael Ellerman <mpe at ellerman.id.au> (powerpc)
cheers
More information about the Linuxppc-dev
mailing list