]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
Documentation: mm: fix location of extfrag_index
authorRabin Vincent <rabin.vincent@axis.com>
Tue, 14 Jul 2015 05:35:11 +0000 (07:35 +0200)
committerJonathan Corbet <corbet@lwn.net>
Fri, 24 Jul 2015 13:05:56 +0000 (15:05 +0200)
/proc/extfrag_index does not exist.  This file is in debugfs.  Fix the
description of extfrag_threshold to reflect this.

Signed-off-by: Rabin Vincent <rabin.vincent@axis.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/sysctl/vm.txt

index 9832ec52f859a2f4e3c99b0767ef957a59a97bf1..9c3f2f8054b5f90411b341a6e39a4b060c78804a 100644 (file)
@@ -225,11 +225,11 @@ with your system.  To disable them, echo 4 (bit 3) into drop_caches.
 extfrag_threshold
 
 This parameter affects whether the kernel will compact memory or direct
-reclaim to satisfy a high-order allocation. /proc/extfrag_index shows what
-the fragmentation index for each order is in each zone in the system. Values
-tending towards 0 imply allocations would fail due to lack of memory,
-values towards 1000 imply failures are due to fragmentation and -1 implies
-that the allocation will succeed as long as watermarks are met.
+reclaim to satisfy a high-order allocation. The extfrag/extfrag_index file in
+debugfs shows what the fragmentation index for each order is in each zone in
+the system. Values tending towards 0 imply allocations would fail due to lack
+of memory, values towards 1000 imply failures are due to fragmentation and -1
+implies that the allocation will succeed as long as watermarks are met.
 
 The kernel will not compact memory in a zone if the
 fragmentation index is <= extfrag_threshold. The default value is 500.