From: Guopeng Zhang <[email protected]>

State-matrix cases exercise a child invalidated by its parent and a
nested partition invalidated through an already invalid parent.

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

diff --git a/tools/testing/selftests/cgroup/test_cpuset_prs.sh 
b/tools/testing/selftests/cgroup/test_cpuset_prs.sh
index ad01016ddc8d..89f54c689336 100755
--- a/tools/testing/selftests/cgroup/test_cpuset_prs.sh
+++ b/tools/testing/selftests/cgroup/test_cpuset_prs.sh
@@ -340,6 +340,12 @@ TEST_MATRIX=(
        " C1-4:P2  C3-4:P1  .      . T:O1=0:O2=0:O4=0 . .      . \
                                           0 A1:3|A2:3 A1:P2|A2:P-1 1-4"
 
+       # Invalidation propagated from a parent returns all descendant CPUs
+       " C0-3:P1  C2-3:P2  .      .      P0      .      .      . \
+                                          0 A1:0-3|A2:2-3 A1:P0|A2:P-2 ."
+       " C0-5:P2  C2-5:P2 C4-5:P1 .      .       P0     .      . \
+                                          0 A1:0-5|A2:2-5|A3:4-5 
A1:P2|A2:P0|A3:P-1 0-5"
+
        # Local partition CPU change tests
        " C0-5:P2  C4-5:P1  .      .      .    C3-5     .      .     0 
A1:0-2|A2:3-5 A1:P2|A2:P1 0-2"
        " C0-5:P2  C4-5:P1  .      .    C1-5     .      .      .     0 
A1:1-3|A2:4-5 A1:P2|A2:P1 1-3"
-- 
2.43.0


Reply via email to