• Waiman Long's avatar
    cgroup/cpuset: Extend test_cpuset_prs.sh to test remote partition · 105f3fe9
    Waiman Long authored
    
    
    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: default avatarWaiman Long <longman@redhat.com>
    Signed-off-by: default avatarTejun Heo <tj@kernel.org>
    105f3fe9
test_cpuset_prs.sh 25.3 KB