Skip to content

Commit

Permalink
Unified the default values of various variables between the documenta…
Browse files Browse the repository at this point in the history
…tion and the configuration file.
  • Loading branch information
xvitaly committed Oct 20, 2024
1 parent d8e068b commit 9b3f068
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions assets/manpage/zswap-cli.md.in
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ export ZSWAP_SAME_FILLED_PAGES_ENABLED_VALUE=Y
export ZSWAP_MAX_POOL_PERCENT_VALUE=60
export ZSWAP_COMPRESSOR_VALUE=lzo
export ZSWAP_ZPOOL_VALUE=z3fold
export ZSWAP_ACCEPT_THRESHOLD_PERCENT_VALUE=40
export ZSWAP_ACCEPT_THRESHOLD_PERCENT_VALUE=90
export ZSWAP_NON_SAME_FILLED_PAGES_ENABLED_VALUE=Y
export ZSWAP_EXCLUSIVE_LOADS_VALUE=Y
export ZSWAP_SHRINKER_ENABLED_VALUE=Y
Expand All @@ -145,7 +145,7 @@ sudo ZSWAP_ENABLED_VALUE=Y \
ZSWAP_MAX_POOL_PERCENT_VALUE=60 \
ZSWAP_COMPRESSOR_VALUE=lzo \
ZSWAP_ZPOOL_VALUE=z3fold \
ZSWAP_ACCEPT_THRESHOLD_PERCENT_VALUE=40 \
ZSWAP_ACCEPT_THRESHOLD_PERCENT_VALUE=90 \
ZSWAP_NON_SAME_FILLED_PAGES_ENABLED_VALUE=Y \
ZSWAP_EXCLUSIVE_LOADS_VALUE=Y \
ZSWAP_SHRINKER_ENABLED_VALUE=Y \
Expand Down
4 changes: 2 additions & 2 deletions docs/environment-options.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export ZSWAP_SAME_FILLED_PAGES_ENABLED_VALUE=Y
export ZSWAP_MAX_POOL_PERCENT_VALUE=60
export ZSWAP_COMPRESSOR_VALUE=lzo
export ZSWAP_ZPOOL_VALUE=z3fold
export ZSWAP_ACCEPT_THRESHOLD_PERCENT_VALUE=40
export ZSWAP_ACCEPT_THRESHOLD_PERCENT_VALUE=90
export ZSWAP_NON_SAME_FILLED_PAGES_ENABLED_VALUE=Y
export ZSWAP_EXCLUSIVE_LOADS_VALUE=Y
export ZSWAP_SHRINKER_ENABLED_VALUE=Y
Expand All @@ -44,7 +44,7 @@ sudo ZSWAP_ENABLED_VALUE=Y \
ZSWAP_MAX_POOL_PERCENT_VALUE=60 \
ZSWAP_COMPRESSOR_VALUE=lzo \
ZSWAP_ZPOOL_VALUE=z3fold \
ZSWAP_ACCEPT_THRESHOLD_PERCENT_VALUE=40 \
ZSWAP_ACCEPT_THRESHOLD_PERCENT_VALUE=90 \
ZSWAP_NON_SAME_FILLED_PAGES_ENABLED_VALUE=Y \
ZSWAP_EXCLUSIVE_LOADS_VALUE=Y \
ZSWAP_SHRINKER_ENABLED_VALUE=Y \
Expand Down
2 changes: 1 addition & 1 deletion docs/using-application.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ sudo zswap-cli \
--max_pool_percent 60 \
--compressor lzo \
--zpool z3fold \
--accept_threshold_percent 40 \
--accept_threshold_percent 90 \
--non_same_filled_pages_enabled Y \
--exclusive_loads Y \
--shrinker_enabled Y
Expand Down

0 comments on commit 9b3f068

Please sign in to comment.