Re: [PATCH v2 2/4] zero-filled pages awareness

2013-03-16 Thread Konrad Rzeszutek Wilk
On Thu, Mar 14, 2013 at 06:08:15PM +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

[PATCH v2 2/4] 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