selftests/mm: assert rmap behave as expected
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 12 repliesIn review
Changes in v1 from the cover letter
* open file in function itself instead of pass fd as paremeter
* fault in the region by accessing it instead of print content
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | selftests/mm: check a valid fd with negative valuetools/ | +1 | 3 replies | |
| 2/3 | selftests/mm: put general ksm operation into vm_utiltools/ tools/ tools/ | +126 | 5 replies | |
| 3/3 | selftests/mm: assert rmap behave as expectedMAINTAINERS tools/ tools/ +2 more | +479 | 4 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] selftests/mm: assert rmap behave as expected
As David suggested, currently we don't have a high level test case to verify the behavior of rmap. This patch set introduce the verification on rmap by migration.
Patch 1 is a trivial cleanup.
Patch 2 is a preparation to move ksm related operation into vm_util. Patch 3 is the new test case.
Currently it covers following four scenarios:
* anonymous page
* shmem page
* pagecache page
* ksm page
RFC->v1:
* open file in function itself instead of pass fd as paremeter
* fault in the region by accessing it instead of print content
Wei Yang (3):
selftests/mm: check a valid fd with negative value selftests/mm: put general ksm operation into vm_util selftests/mm: assert rmap behave as expected
MAINTAINERS | 1 + tools/testing/selftests/mm/.gitignore | 1 + tools/testing/selftests/mm/Makefile | 3 + .../selftests/mm/ksm_functional_tests.c | 95 +--- tools/testing/selftests/mm/rmap.c | 470 ++++++++++++++++++ tools/testing/selftests/mm/run_vmtests.sh | 4 + tools/testing/selftests/mm/vm_util.c | 111 +++++ tools/testing/selftests/mm/vm_util.h | 7 + 8 files changed, 605 insertions(+), 87 deletions(-) create mode 100644 tools/testing/selftests/mm/rmap.c
Signature · 1 line
2.34.1