Skip to content

Commit 9469b39

Browse files
dileksJonathan Corbet
authored andcommitted
zswap: docs/vm: Fix typo accept_threshold_percent in zswap.rst
Recently, I switched over from swap-file to zramswap. When reading the Documentation/vm/zswap.rst file I fell over this typo. The parameter is called accept_threshold_percent not accept_threhsold_percent in /sys/module/zswap/parameters/ directory. Fixes: 45190f0 ("mm/zswap.c: add allocation hysteresis if pool limit is hit") Cc: Vitaly Wool <[email protected]> Signed-off-by: Sedat Dilek <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jonathan Corbet <[email protected]>
1 parent b8170fa commit 9469b39

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Documentation/vm/zswap.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,10 +140,10 @@ without any real benefit but with a performance drop for the system), a
140140
special parameter has been introduced to implement a sort of hysteresis to
141141
refuse taking pages into zswap pool until it has sufficient space if the limit
142142
has been hit. To set the threshold at which zswap would start accepting pages
143-
again after it became full, use the sysfs ``accept_threhsold_percent``
143+
again after it became full, use the sysfs ``accept_threshold_percent``
144144
attribute, e. g.::
145145

146-
echo 80 > /sys/module/zswap/parameters/accept_threhsold_percent
146+
echo 80 > /sys/module/zswap/parameters/accept_threshold_percent
147147

148148
Setting this parameter to 100 will disable the hysteresis.
149149

0 commit comments

Comments
 (0)