Re: [PATCH v3 2/5] zero-filled pages awareness

2013-03-18 Thread Greg Kroah-Hartman
On Fri, Mar 15, 2013 at 10:34:17AM +0800, Wanpeng Li wrote: > Compression of zero-filled pages can unneccessarily cause internal > fragmentation, and thus waste memory. This special case can be > optimized. > > This patch captures zero-filled pages, and marks their corresponding > zcache backing p

Re: [PATCH v3 2/5] zero-filled pages awareness

2013-03-16 Thread Bob Liu
On 03/15/2013 10:34 AM, Wanpeng Li wrote: > Compression of zero-filled pages can unneccessarily cause internal > fragmentation, and thus waste memory. This special case can be > optimized. > > This patch captures zero-filled pages, and marks their corresponding > zcache backing page entry as zero

[PATCH v3 2/5] zero-filled pages awareness

2013-03-14 Thread Wanpeng Li
Compression of zero-filled pages can unneccessarily cause internal fragmentation, and thus waste memory. This special case can be optimized. This patch captures zero-filled pages, and marks their corresponding zcache backing page entry as zero-filled. Whenever such zero-filled page is retrieved, w