From: Seth Jennings Date: Fri, 30 Dec 2011 16:42:15 +0000 (-0600) Subject: staging: zcache: fix serialization bug in zv stats X-Git-Tag: v3.3-rc4~40^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2a4830110b90deb4ee99b1ab8c8ebb120f27c0c8;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 Acked-by: Dan Magenheimer Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed