public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] mm: zswap: Add kernel parameters for zswap in kernel-parameters.txt
@ 2013-12-26 12:32 Masanari Iida
  2013-12-26 19:53 ` Randy Dunlap
  0 siblings, 1 reply; 2+ messages in thread
From: Masanari Iida @ 2013-12-26 12:32 UTC (permalink / raw)
  To: linux-kernel, sjenning, linux-mm; +Cc: Masanari Iida

This patch adds kernel parameters for zswap.

Signed-off-by: Masanari Iida <standby24x7@gmail.com>
---
 Documentation/kernel-parameters.txt | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt
index 60a822b..209730af 100644
--- a/Documentation/kernel-parameters.txt
+++ b/Documentation/kernel-parameters.txt
@@ -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:
-- 
1.8.5.2.192.g7794a68


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] mm: zswap: Add kernel parameters for zswap in kernel-parameters.txt
  2013-12-26 12:32 [PATCH] mm: zswap: Add kernel parameters for zswap in kernel-parameters.txt Masanari Iida
@ 2013-12-26 19:53 ` Randy Dunlap
  0 siblings, 0 replies; 2+ messages in thread
From: Randy Dunlap @ 2013-12-26 19:53 UTC (permalink / raw)
  To: Masanari Iida, linux-kernel, sjenning, linux-mm

On 12/26/13 04:32, Masanari Iida wrote:
> This patch adds kernel parameters for zswap.
> 
> Signed-off-by: Masanari Iida <standby24x7@gmail.com>
> ---
>  Documentation/kernel-parameters.txt | 13 +++++++++++++
>  1 file changed, 13 insertions(+)
> 
> diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt
> index 60a822b..209730af 100644
> --- a/Documentation/kernel-parameters.txt
> +++ b/Documentation/kernel-parameters.txt
> @@ -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?


> +
> +	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:
> 


-- 
~Randy

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-12-26 19:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-26 12:32 [PATCH] mm: zswap: Add kernel parameters for zswap in kernel-parameters.txt Masanari Iida
2013-12-26 19:53 ` Randy Dunlap

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox