[Devel] [PATCH vz10 v3 0/2] Add selftests to verify cache limiting and numa migration
Dmitry Sepp
dmitry.sepp at virtuozzo.com
Mon Dec 1 13:41:59 MSK 2025
The patches introduce a set of tests used to verify the following functionality:
- Controlling the amount of memory used by page cache with memory.cache
- Enforcing migration of cgroup's pages to one or multiple target NUMA nodes
with memory.numa_migrate.
Changes in v3:
- Add missing "=y" in config
- Allow memory.cache.current to be significantly less than memory.cache.max
- Mark the inactive_disk_file case as XFAIL as it still fails at times (even
though less frequently than inactive_anon)
Dmitry Sepp (2):
selftests: cgroup: test page cache limiting feature
selftests: cgroup: test numa migration of lruvecs
tools/testing/selftests/cgroup/Makefile | 4 +
tools/testing/selftests/cgroup/config | 4 +
tools/testing/selftests/cgroup/test_cache.c | 248 +++++++
.../selftests/cgroup/test_numa_migrate.c | 630 ++++++++++++++++++
4 files changed, 886 insertions(+)
create mode 100644 tools/testing/selftests/cgroup/test_cache.c
create mode 100644 tools/testing/selftests/cgroup/test_numa_migrate.c
--
2.47.1
More information about the Devel
mailing list