mm/ksm: fix userfaultfd protection on 6.1
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest3 patches 1 replyIn review
- v13 patches 0 repliesSuperseded
Changes in v2 from the cover letter
- Rebase onto the stable queue and move the uffd-wp check below the soft-dirty block (per Sasha).
- https://lore.kernel.org/r/[email protected]/
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | mm/ksm: simplify break_ksm() to not rely on VM_FAULT_WRITEmm/ | +13 | 0 replies | |
| 2/3 | mm/ksm: fix KSM COW breaking with userfaultfd-wp via FAULT_FLAG_UNSHAREmm/ | +5 | 0 replies | |
| 3/3 | mm/ksm: fix userfaultfd protection during merge and unmergemm/ | +4 | 0 replies |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | Peter Xu | Lorenzo Stoakes (ARM) | Kiryl Shutsemau (Meta) | David Hildenbrand (Arm) |
|---|---|---|---|---|
| 1/3 | A-b | |||
| 2/3 | A-b | |||
| 3/3 | A-b | R-b | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.
Cover letter [PATCH 6.1.y v2 0/3] mm/ksm: fix userfaultfd protection on 6.1
Hi Sasha,
Could we take David's two KSM patches first for 6.1.y? Both cherry-pick cleanly. 6.1 already has FAULT_FLAG_UNSHARE, but KSM still breaks COW with a fake write fault.
Patch 2 needs patch 1, and patch 3 needs both.
Thanks,
Lance
v1 -> v2:
- Rebase onto the stable queue and move the uffd-wp check below the soft-dirty block (per Sasha).
- https://lore.kernel.org/r/[email protected]/
David Hildenbrand (2):
mm/ksm: simplify break_ksm() to not rely on VM_FAULT_WRITE mm/ksm: fix KSM COW breaking with userfaultfd-wp via
FAULT_FLAG_UNSHARE
Lance Yang (1):
mm/ksm: fix userfaultfd protection during merge and unmerge
mm/ksm.c | 39 +++++++++++++++++++++------------------ 1 file changed, 21 insertions(+), 18 deletions(-)
Signature · 1 line
2.49.0