mm/mprotect: Fix soft-dirty checks
Status from this message: [merged mm-stable] selftests-soft-dirty-add-test-for-mprotect.patch removed from -mm tree
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest3 patches 12 repliesApplied 3/3
- v33 patches 12 repliesSuperseded
- v21 patch 2 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 1 patch | 1 reply | Superseded |
Changes in v4 from the cover letter
- Add r-bs
- Fix spellings and commit messages (on Fixes) [David]
- In the new test case unlink() after open() to not leave temp file even failed
Patches in v4 All 3 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | mm/mprotect: Fix soft-dirty check in can_change_pte_writable()mm/ mm/ mm/ | +20 | 11 replies | Applied |
| 2/3 | selftests: soft-dirty: Add test for mprotecttools/ | +66 | 1 reply | Applied |
| 3/3 | selftests: Add soft-dirty into run_vmtests.shtools/ | +2 | 0 replies | Applied |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | David Hildenbrand |
|---|---|
| 1/3 | R-b |
| 2/3 | R-b |
| 3/3 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v4 0/3] mm/mprotect: Fix soft-dirty checks
v4:
- Add r-bs
- Fix spellings and commit messages (on Fixes) [David]
- In the new test case unlink() after open() to not leave temp file even failed
v2: https://lore.kernel.org/lkml/[email protected]
v3: https://lore.kernel.org/lkml/[email protected]
Patch 1 is the previous patch and real fix. Two more test patches added to add mprotect test to soft-dirty.c, meanwhile add soft-dirty test into the vm test loop.
Please review, thanks.
Peter Xu (3):
mm/mprotect: Fix soft-dirty check in can_change_pte_writable()
selftests: soft-dirty: Add test for mprotect
selftests: Add soft-dirty into run_vmtests.sh
mm/internal.h | 18 ++++++ mm/mmap.c | 2 +- mm/mprotect.c | 2 +- tools/testing/selftests/vm/run_vmtests.sh | 2 + tools/testing/selftests/vm/soft-dirty.c | 67 ++++++++++++++++++++++- 5 files changed, 88 insertions(+), 3 deletions(-)
Signature · 1 line
2.32.0