File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Documentation/admin-guide/mm Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -155,7 +155,7 @@ Setting this parameter to 100 will disable the hysteresis.
155
155
156
156
Some users cannot tolerate the swapping that comes with zswap store failures
157
157
and zswap writebacks. Swapping can be disabled entirely (without disabling
158
- zswap itself) on a cgroup-basis as follows:
158
+ zswap itself) on a cgroup-basis as follows::
159
159
160
160
echo 0 > /sys/fs/cgroup/<cgroup-name>/memory.zswap.writeback
161
161
@@ -166,7 +166,7 @@ writeback (because the same pages might be rejected again and again).
166
166
When there is a sizable amount of cold memory residing in the zswap pool, it
167
167
can be advantageous to proactively write these cold pages to swap and reclaim
168
168
the memory for other use cases. By default, the zswap shrinker is disabled.
169
- User can enable it as follows:
169
+ User can enable it as follows::
170
170
171
171
echo Y > /sys/module/zswap/parameters/shrinker_enabled
172
172
You can’t perform that action at this time.
0 commit comments