mbox series

[0/2] move_pages_pte() fixes

Message ID 20250226185510.2732648-1-surenb@google.com (mailing list archive)
Headers show
Series move_pages_pte() fixes | expand

Message

Suren Baghdasaryan Feb. 26, 2025, 6:55 p.m. UTC
Patchset bundles two *unrelated* fixes in move_pages_pte because otherwise
they would create a merge conflict. The first fix which was posted before
at [1] fixes a livelock issue. The second change corrects the use of PTEs
when unmapping them.

The patchset applies cleanly over mm-hotfixes-unstable which contains
Barry's fix [2] that changes related code.

[1] https://lore.kernel.org/all/20250225204613.2316092-1-surenb@google.com/
[2] https://lore.kernel.org/all/20250226003234.0B98FC4CEDD@smtp.kernel.org/

Suren Baghdasaryan (2):
  userfaultfd: do not block on locking a large folio with raised
    refcount
  userfaultfd: fix PTE unmapping stack-allocated PTE copies

 mm/userfaultfd.c | 37 ++++++++++++++++++++++++++-----------
 1 file changed, 26 insertions(+), 11 deletions(-)


base-commit: a88b5ef577dd7ddb8606ef233c0634f05e884d4a