RE: [PATCH 2/4] zcache: zero-filled pages awareness

2013-03-13 Thread Dan Magenheimer
> From: Wanpeng Li [mailto:liw...@linux.vnet.ibm.com] > Subject: [PATCH 2/4] zcache: zero-filled pages awareness > > Compression of zero-filled pages can unneccessarily cause internal > fragmentation, and thus waste memory. This special case can be > optimized. > >

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

2013-03-13 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