Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

docs: zswap: fix shell command format

Format the shell commands as code block to keep the documentation in the
same style

Signed-off-by: Weiji Wang <nebclllo0444@gmail.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Link: https://lore.kernel.org/r/20240319114253.2647-1-nebclllo0444@gmail.com

authored by

Weiji Wang and committed by
Jonathan Corbet
e9c44c1b b75d8521

+2 -2
+2 -2
Documentation/admin-guide/mm/zswap.rst
··· 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 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