[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <a8ff3bc4-45f8-fc3c-2ffe-7d25ce259513@gmail.com>
Date: Mon, 14 Nov 2016 17:07:37 +1100
From: Balbir Singh <bsingharora@...il.com>
To: "Aneesh Kumar K.V" <aneesh.kumar@...ux.vnet.ibm.com>,
akpm@...ux-foundation.org, benh@....ibm.com, michaele@....ibm.com,
michael.neuling@....ibm.com, paulus@....ibm.com,
"Kirill A . Shutemov" <kirill@...temov.name>
Cc: linux-mm@...ck.org, linuxppc-dev@...ts.ozlabs.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH V3 1/2] mm: move vma_is_anonymous check within
pmd_move_must_withdraw
On 14/11/16 02:00, Aneesh Kumar K.V wrote:
> 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
>
I think the changelog can be reworded a bit
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.
What do you think?
Balbir Singh.
Powered by blists - more mailing lists