diff options
| author | Waiman Long <longman@redhat.com> | 2026-10-25 17:44:43 -0400 |
|---|---|---|
| committer | Tejun Heo <tj@kernel.org> | 2026-10-26 07:44:23 -1000 |
| commit | 40a0d5c05a2be7b1c23c32f1327289d26d479ae6 (patch) | |
| tree | 928cbba314a51157ec8d3ed94f0fe4b52696c930 /include/linux/workqueue_api.h | |
| parent | 40702b2ca8fa08fb64b926d8c72a4909d0330580 (diff) | |
selftests/cgroup: Check for a single range nohz_full CPUs before running test matrix
Commit 989ca25c10ca ("selftests/cgroup: Add tests for nohz_full
housekeeping check") adds a nohz_full test matrix that will only be run
when a nohz_full boot parameter cover all the CPUs beyond CPUs 0-7. The
code looks for the first and last CPU numbers in the nohz_full sysfs
file to determine if that criterion is met. However if there are holes in
the range (i.e. has ",") the test matrix may be incorrectly run leading
to unexpected test failure. Fix that by skipping "," and anything after
that to make sure the first range will cover all the remaining CPUs.
Reviewed-by: Guopeng Zhang <zhangguopeng@kylinos.cn>
Tested-by: Guopeng Zhang <zhangguopeng@kylinos.cn>
Signed-off-by: Waiman Long <longman@redhat.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'include/linux/workqueue_api.h')
0 files changed, 0 insertions, 0 deletions
