cgroup/cpuset: Minor updates to test_cpuset_prs.sh
authorWaiman Long <longman@redhat.com>
Fri, 17 Mar 2023 15:15:08 +0000 (11:15 -0400)
committerTejun Heo <tj@kernel.org>
Wed, 29 Mar 2023 18:42:25 +0000 (08:42 -1000)
commit1bf33285d98536da6b015627341e4f789fee067e
tree85510e335ab9d6583b4aeb979d2b11dbc23066d3
parent6667439f51c446fead5d991ff49b842a811a6195
cgroup/cpuset: Minor updates to test_cpuset_prs.sh

This patch makes the following minor updates to the cpuset partition
testing script test_cpuset_prs.sh.

 - Remove online_cpus function call as it will be called anyway on exit
   in cleanup.
 - Make the enabling of sched/verbose debugfs flag conditional on the
   "-v" verbose option and set DELAY_FACTOR to 2 in this case as cpuset
   partition operations are likely to be slowed down by enabling that.

Signed-off-by: Waiman Long <longman@redhat.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
tools/testing/selftests/cgroup/test_cpuset_prs.sh