linux-mm.kvack.org archive mirror
 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
  2013-12-27  0:21 ` Wanpeng Li
  0 siblings, 2 replies; 3+ 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

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply	[flat|nested] 3+ 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
  2013-12-27  0:21 ` Wanpeng Li
  1 sibling, 0 replies; 3+ 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

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply	[flat|nested] 3+ 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
@ 2013-12-27  0:21 ` Wanpeng Li
  1 sibling, 0 replies; 3+ messages in thread
From: Wanpeng Li @ 2013-12-27  0:21 UTC (permalink / raw)
  To: Masanari Iida; +Cc: Seth Jennings, linux-mm, linux-kernel

Hi Masanari,
On Thu, Dec 26, 2013 at 09:32:59PM +0900, 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.
>+
>+	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.
> __________

Dan explained why there is no description in kernel-parameters.txt.

http://marc.info/?l=linux-mm&m=136121736903140&w=2

Regards,
Wanpeng Li 

>
> TODO:
>-- 
>1.8.5.2.192.g7794a68
>
>--
>To unsubscribe, send a message with 'unsubscribe linux-mm' in
>the body to majordomo@kvack.org.  For more info on Linux MM,
>see: http://www.linux-mm.org/ .
>Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

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

end of thread, other threads:[~2013-12-27  0:22 UTC | newest]

Thread overview: 3+ 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
2013-12-27  0:21 ` Wanpeng Li

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