summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorCosta Shulyupin <costa.shul@redhat.com>2026-05-31 17:00:45 +0300
committerTejun Heo <tj@kernel.org>2026-05-31 06:27:30 -1000
commit6935f0496c2eb74dd3f57228a799d2db1a8a9ac8 (patch)
treee246ceb16f557fc84d569be26166ee57bc9724d6 /Documentation
parent390f2d73bc99a888469f789f274c162da33bafe5 (diff)
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>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/admin-guide/cgroup-v1/cgroups.rst2
-rw-r--r--Documentation/admin-guide/cgroup-v1/memcg_test.rst2
2 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/admin-guide/cgroup-v1/cgroups.rst b/Documentation/admin-guide/cgroup-v1/cgroups.rst
index 463f98453323..e501f45ea93f 100644
--- a/Documentation/admin-guide/cgroup-v1/cgroups.rst
+++ b/Documentation/admin-guide/cgroup-v1/cgroups.rst
@@ -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().
diff --git a/Documentation/admin-guide/cgroup-v1/memcg_test.rst b/Documentation/admin-guide/cgroup-v1/memcg_test.rst
index 7c7cd457cf69..ebedbc3c3f9c 100644
--- a/Documentation/admin-guide/cgroup-v1/memcg_test.rst
+++ b/Documentation/admin-guide/cgroup-v1/memcg_test.rst
@@ -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::