Commit a10726bb authored by Rabin Vincent's avatar Rabin Vincent Committed by Jonathan Corbet

Documentation: mm: fix location of extfrag_index

/proc/extfrag_index does not exist.  This file is in debugfs.  Fix the
description of extfrag_threshold to reflect this.
Signed-off-by: default avatarRabin Vincent <rabin.vincent@axis.com>
Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
parent acc068d9
...@@ -225,11 +225,11 @@ with your system. To disable them, echo 4 (bit 3) into drop_caches. ...@@ -225,11 +225,11 @@ with your system. To disable them, echo 4 (bit 3) into drop_caches.
extfrag_threshold extfrag_threshold
This parameter affects whether the kernel will compact memory or direct This parameter affects whether the kernel will compact memory or direct
reclaim to satisfy a high-order allocation. /proc/extfrag_index shows what reclaim to satisfy a high-order allocation. The extfrag/extfrag_index file in
the fragmentation index for each order is in each zone in the system. Values debugfs shows what the fragmentation index for each order is in each zone in
tending towards 0 imply allocations would fail due to lack of memory, the system. Values tending towards 0 imply allocations would fail due to lack
values towards 1000 imply failures are due to fragmentation and -1 implies of memory, values towards 1000 imply failures are due to fragmentation and -1
that the allocation will succeed as long as watermarks are met. implies that the allocation will succeed as long as watermarks are met.
The kernel will not compact memory in a zone if the The kernel will not compact memory in a zone if the
fragmentation index is <= extfrag_threshold. The default value is 500. fragmentation index is <= extfrag_threshold. The default value is 500.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment