[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Y2Wj7o9nibDr2X0C@google.com>
Date: Sat, 5 Nov 2022 08:44:46 +0900
From: Sergey Senozhatsky <senozhatsky@...omium.org>
To: Minchan Kim <minchan@...nel.org>
Cc: Sergey Senozhatsky <senozhatsky@...omium.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Nitin Gupta <ngupta@...are.org>, linux-kernel@...r.kernel.org,
linux-mm@...ck.org
Subject: Re: [PATCHv4 2/9] zram: Add recompression algorithm sysfs knob
On (22/11/04 16:40), Minchan Kim wrote:
> > > > Configure 2 alternative algos, with priority 1 and 2
> > > >
> > > > echo "name=lz4 priority=1" > recomp_algo
> > > > echo "name=lz5 priority=2" > recomp_algo
> > > >
> > > > Recompress pages using algo 1 and algo 2
> > > >
> > > > echo "type=huge threshold=3000 algo_idx=1" > recompress
> > > > echo "type=idle threshold=2000 algo_idx=2" > recompress
> > > >
> > > > Maybe we can even pass algo name instead of idx.
> > >
> > > Let's use name rather than index.
> >
> > OK. Any preference on the keyword? "name="? "algo="? "algorithm="?
> > "compressor="? "comp="?
> >
> > I want use the same keyword for recomp_algo. I sort of like "algo=",
> > but not sure.
>
> +1 with algo
Minchan, I'm sorry I'm getting a bit confused (didn't sleep last night).
I just saw your other email and you suggested there that we don't need
any idx or name in recompress. Or did I misunderstand it?
Powered by blists - more mailing lists