[PATCH v3 0/3] mm/mprotect: Fix soft-dirty checks

Peter Xu posted 3 patches 3 years, 9 months ago
There is a newer version of this series
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   | 69 ++++++++++++++++++++++-
5 files changed, 90 insertions(+), 3 deletions(-)
[PATCH v3 0/3] mm/mprotect: Fix soft-dirty checks
Posted by Peter Xu 3 years, 9 months ago
v2: https://lore.kernel.org/lkml/20220720220324.88538-1-peterx@redhat.com/

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   | 69 ++++++++++++++++++++++-
 5 files changed, 90 insertions(+), 3 deletions(-)

-- 
2.32.0