From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753916AbcJKVnB (ORCPT ); Tue, 11 Oct 2016 17:43:01 -0400 Received: from ipmail07.adl2.internode.on.net ([150.101.137.131]:15025 "EHLO ipmail07.adl2.internode.on.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752814AbcJKVnA (ORCPT ); Tue, 11 Oct 2016 17:43:00 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A2AVHwBnWv1XEIjVLHlcGwEBAQMBAQEJAQEBgzwBAQEBAR2BU4J5g3mcHQYGgRuHW4QmhiSEGoYaAgIBAQKCCU0BAgEBAQEBAgYBAQEBAQEBATdAhGIBAQQnExwjEAgDGAklDwUNGAMHGhOINgMWvz8Ng2wBAQEHAgElHoVUhSCCR4Uwgi8BBJlNNYxygwCBY44diGWEFIN/gRUFB4R0KjSIZAEBAQ Date: Wed, 12 Oct 2016 08:36:48 +1100 From: Dave Chinner To: Vitaly Wool Cc: Linux-MM , linux-kernel@vger.kernel.org, Seth Jennings , Dan Streetman , Andrew Morton Subject: Re: [PATCH] z3fold: add shrinker Message-ID: <20161011213648.GC27872@dastard> References: <20161011231408.2728c93ad89acb517fc6c9f0@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20161011231408.2728c93ad89acb517fc6c9f0@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 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? Cheers, Dave. -- Dave Chinner david@fromorbit.com