]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
sched_ext: Convert cgroup BPF support to use cgroup_lifetime_notifier
authorTejun Heo <tj@kernel.org>
Wed, 14 May 2025 04:46:12 +0000 (00:46 -0400)
committerTejun Heo <tj@kernel.org>
Thu, 22 May 2025 19:20:19 +0000 (09:20 -1000)
commit82648b8b2ae0a0ff371e2a98133844658cfaae9a
tree837feb1e63531728264d8547107e30e60af22a8b
parent9e8c67a9e526f497d606d721cf6b92dd68d90806
sched_ext: Convert cgroup BPF support to use cgroup_lifetime_notifier

Replace explicit cgroup_bpf_inherit/offline() calls from cgroup
creation/destruction paths with notification callback registered on
cgroup_lifetime_notifier.

Signed-off-by: Tejun Heo <tj@kernel.org>
include/linux/bpf-cgroup.h
kernel/bpf/cgroup.c
kernel/cgroup/cgroup.c