Re: [PATCH] mm: zswap: Add kernel parameters for zswap in kernel-parameters.txt

From: Randy Dunlap
Date: Thu Dec 26 2013 - 14:54:08 EST


On 12/26/13 04:32, Masanari Iida wrote:
> This patch adds kernel parameters for zswap.
>
> Signed-off-by: Masanari Iida <standby24x7@xxxxxxxxx>
> ---
> 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 from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/