bpf: Add support for cgroup1, BPF part
Status from this message: This series was applied to bpf/bpf-next.git (master)
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest6 patches 2 repliesApplied 6/6
- v311 patches 22 repliesSuperseded
- v2 RFC9 patches 20 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 RFC | 8 patches | 17 replies | Superseded |
Changes in v4 from the cover letter
- use subsys_name instead of cgrp_name in get_cgroup_hierarchy_id()
Patches in v4 All 6 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | bpf: Add a new kfunc for cgroup1 hierarchykernel/ | +20 | 0 replies | Applied |
| 2/6 | selftests/bpf: Fix issues in setup_classid_environment()tools/ | +14 | 0 replies | Applied |
| 3/6 | selftests/bpf: Add parallel support for classidtools/ tools/ tools/ | +13 | 0 replies | Applied |
| 4/6 | selftests/bpf: Add a new cgroup helper get_classid_cgroup_id()tools/ tools/ | +23 | 0 replies | Applied |
| 5/6 | selftests/bpf: Add a new cgroup helper get_cgroup_hierarchy_id()tools/ tools/ | +53 | 0 replies | Applied |
| 6/6 | selftests/bpf: Add selftests for cgroup1 hierarchytools/ tools/ | +230 | 2 replies | Applied |
Reviews trailers per patch
1 of 6 patches has a Reviewed-by or Acked-by.
| Patch | Tejun Heo |
|---|---|
| 1/6 | A-b |
| 2/6 | |
| 3/6 | |
| 4/6 | |
| 5/6 | |
| 6/6 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v4 bpf-next 0/6] bpf: Add support for cgroup1, BPF part
This is the BPF part of the series "bpf, cgroup: Add BPF support for cgroup1 hierarchy" with adjustment in the last two patches compared to the previous one.
v3->v4:
- use subsys_name instead of cgrp_name in get_cgroup_hierarchy_id()
(Tejun)
- use local bpf_link instead of modifying the skeleton in the selftests
v3: https://lwn.net/Articles/949264/
Yafang Shao (6):
bpf: Add a new kfunc for cgroup1 hierarchy selftests/bpf: Fix issues in setup_classid_environment() selftests/bpf: Add parallel support for classid selftests/bpf: Add a new cgroup helper get_classid_cgroup_id() selftests/bpf: Add a new cgroup helper get_cgroup_hierarchy_id() selftests/bpf: Add selftests for cgroup1 hierarchy
kernel/bpf/helpers.c | 20 +++ tools/testing/selftests/bpf/cgroup_helpers.c | 116 ++++++++++++--- tools/testing/selftests/bpf/cgroup_helpers.h | 4 +- .../selftests/bpf/prog_tests/cgroup1_hierarchy.c | 158 +++++++++++++++++++++ .../testing/selftests/bpf/prog_tests/cgroup_v1v2.c | 2 +- .../selftests/bpf/progs/test_cgroup1_hierarchy.c | 72 ++++++++++ 6 files changed, 353 insertions(+), 19 deletions(-) create mode 100644 tools/testing/selftests/bpf/prog_tests/cgroup1_hierarchy.c create mode 100644 tools/testing/selftests/bpf/progs/test_cgroup1_hierarchy.c
Signature · 1 line
1.8.3.1