Thread (5 messages) flat view 5 messages, 4 authors, 2016-11-14

Re: [PATCH V3 1/2] mm: move vma_is_anonymous check within pmd_move_must_withdraw

From: Balbir Singh <bsingharora@gmail.com>
Date: 2016-11-14 06:07:45
Also in: linux-mm, lkml


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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help