[LTP] [PATCH v8 0/2] cpuset02: Convert the test6 from cpuset_memory_testset.sh to C code

Wei Gao via ltp
2025-03-28T08:00:31Z

Changes v7-v8:
* Update Petr's comments on v7
* Reserve at least 1 page on each node base Li Wang's suggestion
* Change check_node_id from node->map[0] to node->map[node->cnt - 1]

link to v7:
https://patchwork.ozlabs.org/project/ltp/patch/20250324120049.29270-2-wegao@suse.com/

Wei Gao (2):
cpuset02: Convert the test6 from cpuset_memory_testset.sh to C code
cpuset_memory_testset.sh: Remove test6

lib/tst_cgroup.c | 1 +
runtest/mm | 1 +
.../cpuset_memory_testset.sh | 37 +----
testcases/kernel/mem/.gitignore | 1 +
testcases/kernel/mem/cpuset/Makefile | 5 +
testcases/kernel/mem/cpuset/cpuset02.c | 138 ++++++++++++++++++
6 files changed, 148 insertions(+), 35 deletions(-)
create mode 100644 testcases/kernel/mem/cpuset/cpuset02.c

--
2.35.3