From: Wanpeng Li Date: Tue, 2 Apr 2013 02:46:14 +0000 (+0800) Subject: staging: zcache: zero-filled pages awareness X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~137^2~353 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8762c7dde745f1de0488c6a3ed6894390303f76f;p=pandora-kernel.git staging: 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. This patch captures zero-filled pages, and marks their corresponding zcache backing page entry as zero-filled. Whenever such zero-filled page is retrieved, we fill the page frame with zero. Acked-by: Dan Magenheimer Reviewed-by: Konrad Rzeszutek Wilk Signed-off-by: Wanpeng Li Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed