Message ID | 20231029061438.4215-1-laoar.shao@gmail.com (mailing list archive) |
---|---|
Headers | show |
Series | bpf, cgroup: Add BPF support for cgroup1 hierarchy | expand |
Hello, On Sun, Oct 29, 2023 at 06:14:27AM +0000, Yafang Shao wrote: > - [bpf_]task_get_cgroup1 > Acquires the associated cgroup of a task within a specific cgroup1 > hierarchy. The cgroup1 hierarchy is identified by its hierarchy ID. > > This new kfunc enables the tracing of tasks within a designated container > or its ancestor cgroup directory in BPF programs. Additionally, it is > capable of operating on named cgroups, providing valuable utility for > hybrid cgroup mode scenarios. Sans minor nits, the whole series looks good to me. I can take the cgroup prep patches through cgroup tree but it's also fine to route them through the bpf tree with the rest of the series. Please let me know how folks want to route the series once the minor issues are addressed. Thanks.
On Thu, Nov 9, 2023 at 1:36 PM Tejun Heo <tj@kernel.org> wrote: > > Hello, > > On Sun, Oct 29, 2023 at 06:14:27AM +0000, Yafang Shao wrote: > > - [bpf_]task_get_cgroup1 > > Acquires the associated cgroup of a task within a specific cgroup1 > > hierarchy. The cgroup1 hierarchy is identified by its hierarchy ID. > > > > This new kfunc enables the tracing of tasks within a designated container > > or its ancestor cgroup directory in BPF programs. Additionally, it is > > capable of operating on named cgroups, providing valuable utility for > > hybrid cgroup mode scenarios. > > Sans minor nits, the whole series looks good to me. I can take the cgroup > prep patches through cgroup tree but it's also fine to route them through > the bpf tree with the rest of the series. Please let me know how folks want > to route the series once the minor issues are addressed. Do you think there could be conflicts between cgroup and bpf trees ? If so, maybe you can push the cgroup patches into the stable branch and pull it into the main cgroup branch and we'll pull the same branch into bpf-next. This way all shas will remain and no conflicts during the merge window.
Hello, Applied 1-5 to cgroup/for-6.8-bpf. The last patch is updated to use irqsave/restore. Will post the updated version as a reply to the original patch. git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup.git for-6.8-bpf Alexei, please feel free to pull from the branch. It's stable and will also be included as a part of cgroup/for-6.8. Thanks.
On Thu, Nov 9, 2023 at 3:28 PM Tejun Heo <tj@kernel.org> wrote: > > Hello, > > Applied 1-5 to cgroup/for-6.8-bpf. The last patch is updated to use > irqsave/restore. Will post the updated version as a reply to the original > patch. > > git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup.git for-6.8-bpf > > Alexei, please feel free to pull from the branch. It's stable and will also > be included as a part of cgroup/for-6.8. Perfect. Thanks. Will probably pull it either tomorrow or on Monday/Tuesday.
On Fri, Nov 10, 2023 at 7:35 AM Alexei Starovoitov <alexei.starovoitov@gmail.com> wrote: > > On Thu, Nov 9, 2023 at 3:28 PM Tejun Heo <tj@kernel.org> wrote: > > > > Hello, > > > > Applied 1-5 to cgroup/for-6.8-bpf. The last patch is updated to use > > irqsave/restore. Will post the updated version as a reply to the original > > patch. > > > > git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup.git for-6.8-bpf > > > > Alexei, please feel free to pull from the branch. It's stable and will also > > be included as a part of cgroup/for-6.8. > > Perfect. Thanks. > Will probably pull it either tomorrow or on Monday/Tuesday. will send a new version for the other parts after you pull it.
On Thu, Nov 9, 2023 at 10:05 PM Yafang Shao <laoar.shao@gmail.com> wrote: > > On Fri, Nov 10, 2023 at 7:35 AM Alexei Starovoitov > <alexei.starovoitov@gmail.com> wrote: > > > > On Thu, Nov 9, 2023 at 3:28 PM Tejun Heo <tj@kernel.org> wrote: > > > > > > Hello, > > > > > > Applied 1-5 to cgroup/for-6.8-bpf. The last patch is updated to use > > > irqsave/restore. Will post the updated version as a reply to the original > > > patch. > > > > > > git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup.git for-6.8-bpf > > > > > > Alexei, please feel free to pull from the branch. It's stable and will also > > > be included as a part of cgroup/for-6.8. > > > > Perfect. Thanks. > > Will probably pull it either tomorrow or on Monday/Tuesday. > > will send a new version for the other parts after you pull it. Pulled into bpf-next.