Re: [PATCH v5 3/9] mm/mremap: Use pmd/pud_poplulate to update page table entries

From
Peter Xu <peterx@redhat.com>
Date
2021-05-20 12:46:43
Also in
linux-mm
Reply to
Aneesh Kumar K.V, 2021-05-20
On Thu, May 20, 2021 at 01:56:54PM +0530, Aneesh Kumar K.V wrote:
quoted
This seems to work at least for my userfaultfd test on shmem, however I don't
fully understand the commit message [1] on: How do we guarantee we're not
moving a thp pte?
move_page_tables() checks for pmd_trans_huge() and ends up calling
move_huge_pmd if it is a THP entry.
Sorry to be unclear: what if a huge pud thp?

-- 
Peter Xu
Thread (55 messages) 55 messages, 11 authors, last reply 2021-05-24
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help