Re: [PATCH bpf-next v2 5/8] selftests/bpf: Test cgroup_iter.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 6/10/22 12:44 PM, Yosry Ahmed wrote:
From: Hao Luo <haoluo@xxxxxxxxxx>

Add a selftest for cgroup_iter. The selftest creates a mini cgroup tree
of the following structure:

     ROOT (working cgroup)
      |
    PARENT
   /      \
CHILD1  CHILD2

and tests the following scenarios:

  - invalid cgroup fd.
  - pre-order walk over descendants from PARENT.
  - post-order walk over descendants from PARENT.
  - walk of ancestors from PARENT.
  - early termination.

Signed-off-by: Hao Luo <haoluo@xxxxxxxxxx>
Signed-off-by: Yosry Ahmed <yosryahmed@xxxxxxxxxx>

Acked-by: Yonghong Song <yhs@xxxxxx>



[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux