Re: [PATCH] z3fold: add shrinker
From: Vitaly Wool
Date: Tue Oct 11 2016 - 17:51:53 EST
On Tue, Oct 11, 2016 at 11:36 PM, Dave Chinner <david@xxxxxxxxxxxxx> wrote:
> On Tue, Oct 11, 2016 at 11:14:08PM +0200, Vitaly Wool wrote:
>> This patch implements shrinker for z3fold. This shrinker
>> implementation does not free up any pages directly but it allows
>> for a denser placement of compressed objects which results in
>> less actual pages consumed and higher compression ratio therefore.
>> Signed-off-by: Vitaly Wool <vitalywool@xxxxxxxxx>
> This seems to implement the shrinker API we removed a ~3 years ago
> (commit a0b02131c5fc ("shrinker: Kill old ->shrink API.")). Forward
> porting and testing required, perhaps?
Bah, right. That's the wrong patch I submitted (for the 3.10-stable).
Thanks for pointing out, I'll come up with the right patch shortly.