Skip to content

Commit 0f146a7

Browse files
Dhaval Gianitorvalds
Dhaval Giani
authored andcommitted
cgroups: fix documentation
Correct the cgroups documentation to reflect the correct file names. Signed-off-by: Dhaval Giani <dhaval@linux.vnet.ibm.com> Cc: Sudhir Kumar <skumar@linux.vnet.ibm.com> Cc: Balbir Singh <balbir@in.ibm.com> Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> Acked-by: Paul Menage <menage@google.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 4cd1a8f commit 0f146a7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Documentation/cgroups.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -310,8 +310,8 @@ and then start a subshell 'sh' in that cgroup:
310310
cd /dev/cgroup
311311
mkdir Charlie
312312
cd Charlie
313-
/bin/echo 2-3 > cpus
314-
/bin/echo 1 > mems
313+
/bin/echo 2-3 > cpuset.cpus
314+
/bin/echo 1 > cpuset.mems
315315
/bin/echo $$ > tasks
316316
sh
317317
# The subshell 'sh' is now running in cgroup Charlie

0 commit comments

Comments
 (0)