diff options
Diffstat (limited to 'Documentation/vm')
-rw-r--r-- | Documentation/vm/00-INDEX | 2 | ||||
-rw-r--r-- | Documentation/vm/numa | 4 | ||||
-rw-r--r-- | Documentation/vm/slub.txt | 2 | ||||
-rw-r--r-- | Documentation/vm/transhuge.txt | 7 |
4 files changed, 7 insertions, 8 deletions
diff --git a/Documentation/vm/00-INDEX b/Documentation/vm/00-INDEX index dca82d7c83d8..5481c8ba3412 100644 --- a/Documentation/vm/00-INDEX +++ b/Documentation/vm/00-INDEX | |||
@@ -30,8 +30,6 @@ page_migration | |||
30 | - description of page migration in NUMA systems. | 30 | - description of page migration in NUMA systems. |
31 | pagemap.txt | 31 | pagemap.txt |
32 | - pagemap, from the userspace perspective | 32 | - pagemap, from the userspace perspective |
33 | slabinfo.c | ||
34 | - source code for a tool to get reports about slabs. | ||
35 | slub.txt | 33 | slub.txt |
36 | - a short users guide for SLUB. | 34 | - a short users guide for SLUB. |
37 | unevictable-lru.txt | 35 | unevictable-lru.txt |
diff --git a/Documentation/vm/numa b/Documentation/vm/numa index a200a386429d..ade01274212d 100644 --- a/Documentation/vm/numa +++ b/Documentation/vm/numa | |||
@@ -109,11 +109,11 @@ to improve NUMA locality using various CPU affinity command line interfaces, | |||
109 | such as taskset(1) and numactl(1), and program interfaces such as | 109 | such as taskset(1) and numactl(1), and program interfaces such as |
110 | sched_setaffinity(2). Further, one can modify the kernel's default local | 110 | sched_setaffinity(2). Further, one can modify the kernel's default local |
111 | allocation behavior using Linux NUMA memory policy. | 111 | allocation behavior using Linux NUMA memory policy. |
112 | [see Documentation/vm/numa_memory_policy.] | 112 | [see Documentation/vm/numa_memory_policy.txt.] |
113 | 113 | ||
114 | System administrators can restrict the CPUs and nodes' memories that a non- | 114 | System administrators can restrict the CPUs and nodes' memories that a non- |
115 | privileged user can specify in the scheduling or NUMA commands and functions | 115 | privileged user can specify in the scheduling or NUMA commands and functions |
116 | using control groups and CPUsets. [see Documentation/cgroups/CPUsets.txt] | 116 | using control groups and CPUsets. [see Documentation/cgroups/cpusets.txt] |
117 | 117 | ||
118 | On architectures that do not hide memoryless nodes, Linux will include only | 118 | On architectures that do not hide memoryless nodes, Linux will include only |
119 | zones [nodes] with memory in the zonelists. This means that for a memoryless | 119 | zones [nodes] with memory in the zonelists. This means that for a memoryless |
diff --git a/Documentation/vm/slub.txt b/Documentation/vm/slub.txt index 07375e73981a..f464f47bc60d 100644 --- a/Documentation/vm/slub.txt +++ b/Documentation/vm/slub.txt | |||
@@ -17,7 +17,7 @@ data and perform operation on the slabs. By default slabinfo only lists | |||
17 | slabs that have data in them. See "slabinfo -h" for more options when | 17 | slabs that have data in them. See "slabinfo -h" for more options when |
18 | running the command. slabinfo can be compiled with | 18 | running the command. slabinfo can be compiled with |
19 | 19 | ||
20 | gcc -o slabinfo Documentation/vm/slabinfo.c | 20 | gcc -o slabinfo tools/slub/slabinfo.c |
21 | 21 | ||
22 | Some of the modes of operation of slabinfo require that slub debugging | 22 | Some of the modes of operation of slabinfo require that slub debugging |
23 | be enabled on the command line. F.e. no tracking information will be | 23 | be enabled on the command line. F.e. no tracking information will be |
diff --git a/Documentation/vm/transhuge.txt b/Documentation/vm/transhuge.txt index 0924aaca3302..29bdf62aac09 100644 --- a/Documentation/vm/transhuge.txt +++ b/Documentation/vm/transhuge.txt | |||
@@ -123,10 +123,11 @@ be automatically shutdown if it's set to "never". | |||
123 | khugepaged runs usually at low frequency so while one may not want to | 123 | khugepaged runs usually at low frequency so while one may not want to |
124 | invoke defrag algorithms synchronously during the page faults, it | 124 | invoke defrag algorithms synchronously during the page faults, it |
125 | should be worth invoking defrag at least in khugepaged. However it's | 125 | should be worth invoking defrag at least in khugepaged. However it's |
126 | also possible to disable defrag in khugepaged: | 126 | also possible to disable defrag in khugepaged by writing 0 or enable |
127 | defrag in khugepaged by writing 1: | ||
127 | 128 | ||
128 | echo yes >/sys/kernel/mm/transparent_hugepage/khugepaged/defrag | 129 | echo 0 >/sys/kernel/mm/transparent_hugepage/khugepaged/defrag |
129 | echo no >/sys/kernel/mm/transparent_hugepage/khugepaged/defrag | 130 | echo 1 >/sys/kernel/mm/transparent_hugepage/khugepaged/defrag |
130 | 131 | ||
131 | You can also control how many pages khugepaged should scan at each | 132 | You can also control how many pages khugepaged should scan at each |
132 | pass: | 133 | pass: |