Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

trivial: fix where cgroup documentation is not correctly referred to

cgroup documentation was moved to Documentation/cgroups/. There are some
places that still refer to Documentation/controllers/,
Documentation/cgroups.txt and Documentation/cpusets.txt. Fix those.

Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@holoscopio.com>
Reviewed-by: Li Zefan <lizf@cn.fujitsu.com>
Acked-by: Paul Menage <menage@google.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>

authored by

Thadeu Lima de Souza Cascardo and committed by
Jiri Kosina
21acb9ca 6d5e147d

+35 -11
+2 -2
Documentation/00-INDEX
··· 86 86 - describes the cache/TLB flushing interfaces Linux uses. 87 87 cdrom/ 88 88 - directory with information on the CD-ROM drivers that Linux has. 89 + cgroups/ 90 + - cgroups features, including cpusets and memory controller. 89 91 connector/ 90 92 - docs on the netlink based userspace<->kernel space communication mod. 91 93 console/ ··· 100 98 - document describing how CPU load statistics are collected. 101 99 cpuidle/ 102 100 - info on CPU_IDLE, CPU idle state management subsystem. 103 - cpusets.txt 104 - - documents the cpusets feature; assign CPUs and Mem to a set of tasks. 105 101 cputopology.txt 106 102 - documentation on how CPU topology info is exported via sysfs. 107 103 cris/
+18
Documentation/cgroups/00-INDEX
··· 1 + 00-INDEX 2 + - this file 3 + cgroups.txt 4 + - Control Groups definition, implementation details, examples and API. 5 + cpuacct.txt 6 + - CPU Accounting Controller; account CPU usage for groups of tasks. 7 + cpusets.txt 8 + - documents the cpusets feature; assign CPUs and Mem to a set of tasks. 9 + devices.txt 10 + - Device Whitelist Controller; description, interface and security. 11 + freezer-subsystem.txt 12 + - checkpointing; rationale to not use signals, interface. 13 + memcg_test.txt 14 + - Memory Resource Controller; implementation details. 15 + memory.txt 16 + - Memory Resource Controller; design, accounting, interface, testing. 17 + resource_counter.txt 18 + - Resource Counter API.
+2 -2
Documentation/kernel-parameters.txt
··· 1593 1593 nosoftlockup [KNL] Disable the soft-lockup detector. 1594 1594 1595 1595 noswapaccount [KNL] Disable accounting of swap in memory resource 1596 - controller. (See Documentation/controllers/memory.txt) 1596 + controller. (See Documentation/cgroups/memory.txt) 1597 1597 1598 1598 nosync [HW,M68K] Disables sync negotiation for all devices. 1599 1599 ··· 1932 1932 1933 1933 relax_domain_level= 1934 1934 [KNL, SMP] Set scheduler's default relax_domain_level. 1935 - See Documentation/cpusets.txt. 1935 + See Documentation/cgroups/cpusets.txt. 1936 1936 1937 1937 reserve= [KNL,BUGS] Force the kernel to ignore some iomem area 1938 1938
+1 -1
Documentation/scheduler/sched-rt-group.txt
··· 126 126 to control the CPU time reserved for each control group instead. 127 127 128 128 For more information on working with control groups, you should read 129 - Documentation/cgroups.txt as well. 129 + Documentation/cgroups/cgroups.txt as well. 130 130 131 131 Group settings are checked against the following limits in order to keep the configuration 132 132 schedulable:
+2 -1
Documentation/vm/numa_memory_policy.txt
··· 8 8 document attempts to describe the concepts and APIs of the 2.6 memory policy 9 9 support. 10 10 11 - Memory policies should not be confused with cpusets (Documentation/cpusets.txt) 11 + Memory policies should not be confused with cpusets 12 + (Documentation/cgroups/cpusets.txt) 12 13 which is an administrative mechanism for restricting the nodes from which 13 14 memory may be allocated by a set of processes. Memory policies are a 14 15 programming interface that a NUMA-aware application can take advantage of. When
+2 -1
Documentation/vm/page_migration
··· 37 37 38 38 Larger installations usually partition the system using cpusets into 39 39 sections of nodes. Paul Jackson has equipped cpusets with the ability to 40 - move pages when a task is moved to another cpuset (See ../cpusets.txt). 40 + move pages when a task is moved to another cpuset (See 41 + Documentation/cgroups/cpusets.txt). 41 42 Cpusets allows the automation of process locality. If a task is moved to 42 43 a new cpuset then also all its pages are moved with it so that the 43 44 performance of the process does not sink dramatically. Also the pages
+3 -2
Documentation/x86/x86_64/fake-numa-for-cpusets
··· 7 7 assign them to cpusets and their attached tasks. This is a way of limiting the 8 8 amount of system memory that are available to a certain class of tasks. 9 9 10 - For more information on the features of cpusets, see Documentation/cpusets.txt. 10 + For more information on the features of cpusets, see 11 + Documentation/cgroups/cpusets.txt. 11 12 There are a number of different configurations you can use for your needs. For 12 13 more information on the numa=fake command line option and its various ways of 13 14 configuring fake nodes, see Documentation/x86/x86_64/boot-options.txt. ··· 33 32 On node 3 totalpages: 131072 34 33 35 34 Now following the instructions for mounting the cpusets filesystem from 36 - Documentation/cpusets.txt, you can assign fake nodes (i.e. contiguous memory 35 + Documentation/cgroups/cpusets.txt, you can assign fake nodes (i.e. contiguous memory 37 36 address spaces) to individual cpusets: 38 37 39 38 [root@xroads /]# mkdir exampleset
+4 -1
include/linux/cgroup.h
··· 342 342 /* Return true if the cgroup is a descendant of the current cgroup */ 343 343 int cgroup_is_descendant(const struct cgroup *cgrp); 344 344 345 - /* Control Group subsystem type. See Documentation/cgroups.txt for details */ 345 + /* 346 + * Control Group subsystem type. 347 + * See Documentation/cgroups/cgroups.txt for details 348 + */ 346 349 347 350 struct cgroup_subsys { 348 351 struct cgroup_subsys_state *(*create)(struct cgroup_subsys *ss,
+1 -1
init/Kconfig
··· 565 565 select MM_OWNER 566 566 help 567 567 Provides a memory resource controller that manages both anonymous 568 - memory and page cache. (See Documentation/controllers/memory.txt) 568 + memory and page cache. (See Documentation/cgroups/memory.txt) 569 569 570 570 Note that setting this option increases fixed memory overhead 571 571 associated with each page of memory in the system. By this,