All of lore.kernel.org
 help / color / mirror / Atom feed
From: Randy Dunlap <rdunlap@infradead.org>
To: Masanari Iida <standby24x7@gmail.com>,
	linux-kernel@vger.kernel.org, sjenning@linux.vnet.ibm.com,
	linux-mm@kvack.org
Subject: Re: [PATCH] mm: zswap: Add kernel parameters for zswap in kernel-parameters.txt
Date: Thu, 26 Dec 2013 11:53:59 -0800	[thread overview]
Message-ID: <52BC8957.4000705@infradead.org> (raw)
In-Reply-To: <1388061179-26624-1-git-send-email-standby24x7@gmail.com>

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>

WARNING: multiple messages have this Message-ID (diff)
From: Randy Dunlap <rdunlap@infradead.org>
To: Masanari Iida <standby24x7@gmail.com>,
	linux-kernel@vger.kernel.org, sjenning@linux.vnet.ibm.com,
	linux-mm@kvack.org
Subject: Re: [PATCH] mm: zswap: Add kernel parameters for zswap in kernel-parameters.txt
Date: Thu, 26 Dec 2013 11:53:59 -0800	[thread overview]
Message-ID: <52BC8957.4000705@infradead.org> (raw)
In-Reply-To: <1388061179-26624-1-git-send-email-standby24x7@gmail.com>

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

  reply	other threads:[~2013-12-26 19:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-26 12:32 [PATCH] mm: zswap: Add kernel parameters for zswap in kernel-parameters.txt Masanari Iida
2013-12-26 12:32 ` Masanari Iida
2013-12-26 19:53 ` Randy Dunlap [this message]
2013-12-26 19:53   ` Randy Dunlap
2013-12-27  0:21 ` Wanpeng Li

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=52BC8957.4000705@infradead.org \
    --to=rdunlap@infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=sjenning@linux.vnet.ibm.com \
    --cc=standby24x7@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.