Skip to content

move_pages_pte() fixes

Suren Baghdasaryan linux-mm lkml stable 1 version Applied

Status from this message: [merged mm-hotfixes-stable] userfaultfd-fix-pte-unmapping-stack-allocated-pte-copies.patch removed from -mm tree

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesApplied 2/2

Patches in v1 All 2 applied

#Subject and filesSizeRepliesApplied
1/2userfaultfd: do not block on locking a large folio with raised refcountmm/userfaultfd.c+16 -11 replyApplied
2/2userfaultfd: fix PTE unmapping stack-allocated PTE copiesmm/userfaultfd.c+10 -101 replyApplied

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchPeter XuLiam R. Howlett
1/2R-b A-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] move_pages_pte() fixes

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/[email protected]/
[2] https://lore.kernel.org/all/[email protected]/

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

Signature · 1 line
2.48.1.658.g4767266eb4-goog