diff options
| author | Tejun Heo <[email protected]> | 2025-05-14 04:44:44 +0000 |
|---|---|---|
| committer | Tejun Heo <[email protected]> | 2025-05-22 19:20:11 +0000 |
| commit | 9e8c67a9e526f497d606d721cf6b92dd68d90806 (patch) | |
| tree | 238ec903181e036e1540140fb34dd53630a73444 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
| parent | cgroup: Minor reorganization of cgroup_create() (diff) | |
| download | kernel-9e8c67a9e526f497d606d721cf6b92dd68d90806.tar.gz kernel-9e8c67a9e526f497d606d721cf6b92dd68d90806.zip | |
sched_ext: Introduce cgroup_lifetime_notifier
Other subsystems may make use of the cgroup hierarchy with the cgroup_bpf
support being one such example. For such a feature, it's useful to be able
to hook into cgroup creation and destruction paths to perform
feature-specific initializations and cleanups.
Add cgroup_lifetime_notifier which generates CGROUP_LIFETIME_ONLINE and
CGROUP_LIFETIME_OFFLINE events whenever cgroups are created and destroyed,
respectively.
The next patch will convert cgroup_bpf to use the new notifier and other
uses are planned.
Signed-off-by: Tejun Heo <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions
