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

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
Loading
Loading
Loading
Loading
+5 −5
Original line number Original line Diff line number Diff line
@@ -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.