Re: [PATCHv2 8/9] zswap: add to mm/

From: Lord Glauber Costa of Sealand
Date: Tue Jan 29 2013 - 05:21:40 EST


On 01/28/2013 07:27 PM, Seth Jennings wrote:
> Yes, I prototyped a shrinker interface for zswap, but, as we both
> figured, it shrinks the zswap compressed pool too aggressively to the
> point of being useless.
Can't you advertise a smaller number of objects that you actively have?

Since the shrinker would never try to shrink more objects than you
advertised, you could control pressure this way.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/