[PATCH v2 0/2] mm/userfaultfd: fix and cleanup for migration entries with uffd-wp

David Hildenbrand posted 2 patches 2 years, 8 months ago
mm/huge_memory.c | 16 ++++++++++++----
mm/mprotect.c    |  2 --
2 files changed, 12 insertions(+), 6 deletions(-)
[PATCH v2 0/2] mm/userfaultfd: fix and cleanup for migration entries with uffd-wp
Posted by David Hildenbrand 2 years, 8 months ago
One fix and one cleanup.

uffd-wp migration entry handling for PTE/PMDs should now be fairly similar
code-wise.

v1 -> v2:
- Add RB's
- "mm/userfaultfd: fix uffd-wp handling for THP migration entries"
 -> pmd_swp_uffd_wp(*pvmw->pmd) -> pmd_uffd_wp(pmdval)

Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Peter Xu <peterx@redhat.com>
Cc: Muhammad Usama Anjum <usama.anjum@collabora.com>

David Hildenbrand (2):
  mm/userfaultfd: fix uffd-wp handling for THP migration entries
  mm/userfaultfd: don't consider uffd-wp bit of writable migration
    entries

 mm/huge_memory.c | 16 ++++++++++++----
 mm/mprotect.c    |  2 --
 2 files changed, 12 insertions(+), 6 deletions(-)

-- 
2.39.2