Skip to content

Commit 6935f04

Browse files
makelinuxhtejun
authored andcommitted
docs: cgroup: Fix stale source file paths
Update two references to files that were moved: - kernel/cgroup.c -> kernel/cgroup/cgroup.c - tools/cgroup/cgroup_event_listener.c -> samples/cgroup/cgroup_event_listener.c Assisted-by: Claude:claude-opus-4-6 Signed-off-by: Costa Shulyupin <costa.shul@redhat.com> Signed-off-by: Tejun Heo <tj@kernel.org>
1 parent 390f2d7 commit 6935f04

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Documentation/admin-guide/cgroup-v1/cgroups.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -525,7 +525,7 @@ cgroup. It may also be taken to prevent cgroups from being
525525
modified, but more specific locks may be more appropriate in that
526526
situation.
527527

528-
See kernel/cgroup.c for more details.
528+
See kernel/cgroup/cgroup.c for more details.
529529

530530
Subsystems can take/release the cgroup_mutex via the functions
531531
cgroup_lock()/cgroup_unlock().

Documentation/admin-guide/cgroup-v1/memcg_test.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ Under below explanation, we assume CONFIG_SWAP=y.
321321
----------------------
322322

323323
Memory controller implements memory thresholds using cgroups notification
324-
API. You can use tools/cgroup/cgroup_event_listener.c to test it.
324+
API. You can use samples/cgroup/cgroup_event_listener.c to test it.
325325

326326
(Shell-A) Create cgroup and run event listener::
327327

0 commit comments

Comments
 (0)