]> git.baikalelectronics.ru Git - kernel.git/commit
staging: zcache: fix account foregin counters against zero-filled pages
authorWanpeng Li <liwanp@linux.vnet.ibm.com>
Wed, 10 Apr 2013 00:25:51 +0000 (08:25 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 11 Apr 2013 19:58:39 +0000 (12:58 -0700)
commitbad1924cfa8b0eb904642cc4d7b053d6c911f8f9
treee4aca5f022a11e599496da57d89b9763699408fd
parent9f2edde1b8510d9a78dceb0fd3a94e16e1689f73
staging: zcache: fix account foregin counters against zero-filled pages

zero-filled pages won't be compressed and sent to remote system. Monitor
the number ephemeral and persistent pages that Ramster has sent make no
sense. This patch skip account foregin counters against zero-filled pages.

Signed-off-by: Wanpeng Li <liwanp@linux.vnet.ibm.com>
Acked-by: Dan Magenheimer <dan.magenheimer@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/zcache/zcache-main.c