From: Guopeng Zhang <[email protected]>

Switch a parent between root and isolated while a child has the opposite
type. Check that CPUs owned by the child keep their isolation state.

Signed-off-by: Guopeng Zhang <[email protected]>
---
 tools/testing/selftests/cgroup/test_cpuset_prs.sh | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tools/testing/selftests/cgroup/test_cpuset_prs.sh 
b/tools/testing/selftests/cgroup/test_cpuset_prs.sh
index 131d8b4551ef..9a1cce4807b4 100755
--- a/tools/testing/selftests/cgroup/test_cpuset_prs.sh
+++ b/tools/testing/selftests/cgroup/test_cpuset_prs.sh
@@ -224,6 +224,8 @@ TEST_MATRIX=(
        "   C0-1     .      .   C2-3:P1   .      .      .     C2     0 "
        "   C0-1     .      .   C2-3:P1   .      .      .    C4-5    0 B1:4-5"
        "  C0-3:P1 C2-3:P1  .      .      .      .      .      .     0 
A1:0-1|A2:2-3|XA2:2-3"
+       "  C0-3:P1 C2-3:P1  .      .     P2      .      .      .     0 
A1:0-1|A2:2-3 A1:P2|A2:P1 0-1"
+       "  C0-3:P2 C2-3:P2  .      .     P1      .      .      .     0 
A1:0-1|A2:2-3 A1:P1|A2:P2 2-3"
        "  C0-3:P1 C2-3:P1  .      .     C1-3    .      .      .     0 
A1:1|A2:2-3|XA2:2-3"
        "  C2-3:P1  C3:P1   .      .     C3      .      .      .     0 
A1:|A2:3|XA2:3 A1:P1|A2:P1"
        "  C2-3:P1  C3:P1   .      .     C3      P0     .      .     0 
A1:3|A2:3 A1:P1|A2:P0"
-- 
2.43.0


Reply via email to