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

Petr Vorel
2025-03-31T10:21:48Z

> Changes v8-v9:
> * Remove .needs_cgroup_ver = TST_CG_V1, let case support both v1 and v2
> * Remove cpuset.sched_load_balance knob
> * Update base Li Wang and Petr's improvement suggestions on v8

3rd point means:
* removed .runs_script = 1
* .needs_checkpoints = 1,
* SAFE_FILE_PRINTF() => FILE_PRINTF() and SAFE_FILE_SCANF() with TCONF check

Kind regards,
Petr

> link to v8:
> https://patchwork.ozlabs.org/project/ltp/cover/20250328075958.7616-1-wegao@suse.com/

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

> 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 | 140 ++++++++++++++++++
> 5 files changed, 149 insertions(+), 35 deletions(-)
> create mode 100644 testcases/kernel/mem/cpuset/cpuset02.c