Re: [PATCH] z3fold: add shrinker

From: Dave Chinner
Date: Tue Oct 11 2016 - 17:43:04 EST

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?


Dave Chinner