mm: zswap: Add kernel parameters for zswap in kernel-parameters.txt
Subsystems (2)
PATCH 1/1 mm: zswap: Add kernel parameters for zswap in kernel-parameters.txt
This patch adds kernel parameters for zswap.
--- Documentation/kernel-parameters.txt | 13 +++++++++++++ 1 file changed, 13 insertions(+)
Documentation/kernel-parameters.txt +13 -0
@@ -3549,6 +3549,19 @@ bytes respectively. Such letter suffixes can also be entirely omitted. Format: <irq>,<irq_mask>,<io>,<full_duplex>,<do_sound>,<lockup_hack>[,<irq2>[,<irq3>[,<irq4>]]] + zswap.compressor= [KNL] + Specify compressor algorithm. + By default, set to lzo. + + zswap.enabled= [KNL] + Format: <0|1> + 0: Disable zswap (default) + 1: Enable zswap + See more information, Documentations/vm/zswap.txt + + zswap.max_pool_percent= [KNL] + The maximum percentage of memory that the compressed + pool can occupy. By default, set to 20. ______________________________________________________________________ TODO:
Signature · 7 lines
1.8.5.2.192.g7794a68 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Randy Dunlap
reviewerQuoted 12 lines · Masanari Iida
This patch adds kernel parameters for zswap.
Signed-off-by Masanari Iida <[email protected]>--- Documentation/kernel-parameters.txt | 13 +++++++++++++ 1 file changed, 13 insertions(+)Documentation/kernel-parameters.txt +0
-0
Documentation/kernel-parameters.txt bytes respectively. Such letter suffixes can also be entirely omitted. · line 3554
Quoted 6 lines
Documentation/kernel-parameters.txt +3
-0@@ -3549,6 +3549,19 @@ bytes respectively. Such letter suffixes can also be entirely omitted. Format: <irq>,<irq_mask>,<io>,<full_duplex>,<do_sound>,<lockup_hack>[,<irq2>[,<irq3>[,<irq4>]]] + zswap.compressor= [KNL] + Specify compressor algorithm. + By default, set to lzo.
what are the options for compressor algorithm? and does it depend on any kernel (compressor) configs?
Quoted 14 lines
Documentation/kernel-parameters.txt +10
-0+ + zswap.enabled= [KNL] + Format: <0|1> + 0: Disable zswap (default) + 1: Enable zswap + See more information, Documentations/vm/zswap.txt + + zswap.max_pool_percent= [KNL] + The maximum percentage of memory that the compressed + pool can occupy. By default, set to 20. ______________________________________________________________________ TODO:
Signature · 1 line
~Randy
Hi Masanari,
Quoted 28 lines · Masanari Iida
This patch adds kernel parameters for zswap.
Signed-off-by Masanari Iida <[email protected]>---
Documentation/kernel-parameters.txt| 13 +++++++++++++1 file changed, 13 insertions(+)Documentation/kernel-parameters.txt +13
-0@@ -3549,6 +3549,19 @@ bytes respectively. Such letter suffixes can also be entirely omitted. Format: <irq>,<irq_mask>,<io>,<full_duplex>,<do_sound>,<lockup_hack>[,<irq2>[,<irq3>[,<irq4>]]] + zswap.compressor= [KNL] + Specify compressor algorithm. + By default, set to lzo. + + zswap.enabled= [KNL] + Format: <0|1> + 0: Disable zswap (default) + 1: Enable zswap + See more information, Documentations/vm/zswap.txt + + zswap.max_pool_percent= [KNL] + The maximum percentage of memory that the compressed + pool can occupy. By default, set to 20.
Quoted 1 line
__________
Dan explained why there is no description in kernel-parameters.txt.
http://marc.info/?l=linux-mm&m=136121736903140&w=2
Regards,
Wanpeng Li
Quoted 10 lines
TODO:
Signature · 7 lines
1.8.5.2.192.g7794a68 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>