]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
docs: cgroup: Fix stale source file paths
authorCosta Shulyupin <costa.shul@redhat.com>
Sun, 31 May 2026 14:00:45 +0000 (17:00 +0300)
committerTejun Heo <tj@kernel.org>
Sun, 31 May 2026 16:27:30 +0000 (06:27 -1000)
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>
Documentation/admin-guide/cgroup-v1/cgroups.rst
Documentation/admin-guide/cgroup-v1/memcg_test.rst

index 463f984533230a82e22d57ed462195217efe477c..e501f45ea93f3e39257da2b886bcd50862e711bb 100644 (file)
@@ -525,7 +525,7 @@ cgroup. It may also be taken to prevent cgroups from being
 modified, but more specific locks may be more appropriate in that
 situation.
 
-See kernel/cgroup.c for more details.
+See kernel/cgroup/cgroup.c for more details.
 
 Subsystems can take/release the cgroup_mutex via the functions
 cgroup_lock()/cgroup_unlock().
index 7c7cd457cf695260cb0cecfd996ebba6bdbdec60..ebedbc3c3f9cc9daee5490b3d484010a52270ac5 100644 (file)
@@ -321,7 +321,7 @@ Under below explanation, we assume CONFIG_SWAP=y.
 ----------------------
 
        Memory controller implements memory thresholds using cgroups notification
-       API. You can use tools/cgroup/cgroup_event_listener.c to test it.
+       API. You can use samples/cgroup/cgroup_event_listener.c to test it.
 
        (Shell-A) Create cgroup and run event listener::