* [PATCH v1 0/3] Fix cgroup1 support in get from fd/file interfaces
@ 2022-10-10 23:58 Yosry Ahmed
0 siblings, 0 replies; 2+ messages in thread
From: Yosry Ahmed @ 2022-10-10 23:58 UTC (permalink / raw)
To: Tejun Heo, Zefan Li, Johannes Weiner, Yonghong Song,
Alexei Starovoitov, Daniel Borkmann, Andrii Nakryiko,
Martin KaFai Lau, Song Liu, John Fastabend, KP Singh,
Stanislav Fomichev, Hao Luo, Jiri Olsa
Cc: cgroups, linux-kernel, bpf, Yosry Ahmed
commit f3a2aebdd6fb ("cgroup: enable cgroup_get_from_file() on cgroup1")
enabled using cgroup_get_from_file() and cgroup_get_from_fd() on
cgroup1, to enable bpf cgroup_iter to attach to cgroup1.
Apparently, other callers depended on these functions only supporting
cgroup2. Revert f3a2aebdd6 and add new separate interfaces that support
both cgroup1 and cgroup2.
Yosry Ahmed (3):
Revert "cgroup: enable cgroup_get_from_file() on cgroup1"
cgroup: add cgroup_all_get_from_[fd/file]()
bpf: cgroup_iter: support cgroup1 using cgroup fd
include/linux/cgroup.h | 1 +
kernel/bpf/cgroup_iter.c | 2 +-
kernel/cgroup/cgroup.c | 55 +++++++++++++++++++++++++++++++++++-----
3 files changed, 51 insertions(+), 7 deletions(-)
--
2.38.0.rc1.362.ged0d419d3c-goog
^ permalink raw reply [flat|nested] 2+ messages in thread* [PATCH v1 0/3] Fix cgroup1 support in get from fd/file interfaces
@ 2022-10-10 23:58 Yosry Ahmed
0 siblings, 0 replies; 2+ messages in thread
From: Yosry Ahmed @ 2022-10-10 23:58 UTC (permalink / raw)
To: Tejun Heo, Zefan Li, Johannes Weiner, Yonghong Song,
Alexei Starovoitov, Daniel Borkmann, Andrii Nakryiko,
Martin KaFai Lau, Song Liu, John Fastabend, KP Singh,
Stanislav Fomichev, Hao Luo, Jiri Olsa
Cc: cgroups, linux-kernel, bpf, Yosry Ahmed
commit f3a2aebdd6fb ("cgroup: enable cgroup_get_from_file() on cgroup1")
enabled using cgroup_get_from_file() and cgroup_get_from_fd() on
cgroup1, to enable bpf cgroup_iter to attach to cgroup1.
Apparently, other callers depended on these functions only supporting
cgroup2. Revert f3a2aebdd6 and add new separate interfaces that support
both cgroup1 and cgroup2.
Yosry Ahmed (3):
Revert "cgroup: enable cgroup_get_from_file() on cgroup1"
cgroup: add cgroup_all_get_from_[fd/file]()
bpf: cgroup_iter: support cgroup1 using cgroup fd
include/linux/cgroup.h | 1 +
kernel/bpf/cgroup_iter.c | 2 +-
kernel/cgroup/cgroup.c | 55 +++++++++++++++++++++++++++++++++++-----
3 files changed, 51 insertions(+), 7 deletions(-)
--
2.38.0.rc1.362.ged0d419d3c-goog
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-10-10 23:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-10 23:58 [PATCH v1 0/3] Fix cgroup1 support in get from fd/file interfaces Yosry Ahmed
2022-10-10 23:58 Yosry Ahmed
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®