Messages in this thread | | | Date | Thu, 26 Dec 2013 11:53:59 -0800 | From | Randy Dunlap <> | Subject | Re: [PATCH] mm: zswap: Add kernel parameters for zswap in kernel-parameters.txt |
| |
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
| |