Re: [PATCHv9 4/8] zswap: add to mm/

2013-04-17 Thread Seth Jennings
On Sun, Apr 14, 2013 at 01:45:06AM +0100, Mel Gorman wrote: > On Wed, Apr 10, 2013 at 01:18:56PM -0500, Seth Jennings wrote: > > zswap is a thin compression backend for frontswap. It receives > > pages from frontswap and attempts to store them in a compressed > > memory pool, resulting in an effect

Re: [PATCHv9 4/8] zswap: add to mm/

2013-04-13 Thread Mel Gorman
On Wed, Apr 10, 2013 at 01:18:56PM -0500, Seth Jennings wrote: > zswap is a thin compression backend for frontswap. It receives > pages from frontswap and attempts to store them in a compressed > memory pool, resulting in an effective partial memory reclaim and > dramatically reduced swap device I/

Re: [PATCHv9 4/8] zswap: add to mm/

2013-04-12 Thread Suleiman Souhlal
Hello, On Apr 10, 2013, at 11:18 , Seth Jennings wrote: > +/* invalidates all pages for the given swap type */ > +static void zswap_frontswap_invalidate_area(unsigned type) > +{ > + struct zswap_tree *tree = zswap_trees[type]; > + struct rb_node *node; > + struct zswap_entry *entry; >