From: Seth Jennings Date: Thu, 9 Feb 2012 18:25:02 +0000 (-0600) Subject: staging: zcache: fix serialization bug in zv stats X-Git-Tag: v3.4-rc1~186^2~176^2~29 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=72a9826b45c0d126f47c1acc8444c5d9ee478fcd;p=pandora-kernel.git staging: zcache: fix serialization bug in zv stats In a multithreaded workload, the zv_curr_dist_counts and zv_cumul_dist_counts statistics are being corrupted because the increments and decrements in zv_create and zv_free are not atomic. This patch converts these statistics and their corresponding increments/decrements/reads to atomic operations. Signed-off-by: Seth Jennings Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed