RE: [PATCHv6 4/8] zswap: add to mm/

2013-02-28 Thread Dan Magenheimer
; Larry > Woodman; Benjamin > Herrenschmidt; Dave Hansen; Joe Perches; Joonsoo Kim; Cody P Schafer; > linux...@kvack.org; linux- > ker...@vger.kernel.org; de...@driverdev.osuosl.org > Subject: RE: [PATCHv6 4/8] zswap: add to mm/ > > > From: Seth Jennings [mailto:sjenn...@lin

RE: [PATCHv6 4/8] zswap: add to mm/

2013-02-28 Thread Dan Magenheimer
> From: Seth Jennings [mailto:sjenn...@linux.vnet.ibm.com] > Subject: [PATCHv6 4/8] zswap: add to mm/ > > +/* > + * Maximum compression ratio, as as percentage, for an acceptable > + * compressed page. Any pages that do not compress by at least > + * this ratio will be rejected. > +*/ > +static un

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

2013-02-25 Thread Seth Jennings
On 02/24/2013 10:35 PM, Joonsoo Kim wrote: > Hello, Seth. > Here comes minor comments. > >> +static int __zswap_cpu_notifier(unsigned long action, unsigned long cpu) >> +{ >> +struct crypto_comp *tfm; >> +u8 *dst; >> + >> +switch (action) { >> +case CPU_UP_PREPARE: >> +

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

2013-02-24 Thread Joonsoo Kim
Hello, Seth. Here comes minor comments. On Wed, Feb 20, 2013 at 04:04:44PM -0600, 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