[PATCH V3 1/2] mm: move vma_is_anonymous check within pmd_move_must_withdraw
Balbir Singh
bsingharora at gmail.com
Mon Nov 14 17:07:37 AEDT 2016
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.
More information about the Linuxppc-dev
mailing list