Skip to content

Commit

Permalink
cgroup/cpuset: Extend test_cpuset_prs.sh to test remote partition
Browse files Browse the repository at this point in the history
This patch extends the test_cpuset_prs.sh test script to support testing
the new remote partition type and the new "cpuset.cpus.exclusive" and
"cpuset.cpus.exclusive.effective" control files by adding new tests
for them. In addition, the following changes are also made:

 1) Run the state transition tests directly under root to ease testing
    of remote partition and remove the unneeded test column.
 2) Add a column to for the list of expected isolated CPUs and compare
    it with the actual value by looking at the state of
    /sys/kernel/debug/sched/domains which will be available if the
    verbose flag is set.

Signed-off-by: Waiman Long <[email protected]>
Signed-off-by: Tejun Heo <[email protected]>
  • Loading branch information
Waiman-Long authored and htejun committed Sep 18, 2023
1 parent efdf753 commit 105f3fe
Showing 1 changed file with 317 additions and 141 deletions.
Loading

0 comments on commit 105f3fe

Please sign in to comment.