summaryrefslogtreecommitdiff
path: root/drivers/ide/umc8672.c
diff options
context:
space:
mode:
authorSeth Jennings <sjenning@linux.vnet.ibm.com>2011-12-30 16:42:15 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-02-08 22:14:14 (GMT)
commit2a4830110b90deb4ee99b1ab8c8ebb120f27c0c8 (patch)
tree642f3ddca90439ff7fff2b76474319de2525807c /drivers/ide/umc8672.c
parenta9d3c9e3c575ee09c905e07ae7cc1d52e2548d05 (diff)
downloadlinux-fsl-qoriq-2a4830110b90deb4ee99b1ab8c8ebb120f27c0c8.tar.xz
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 <sjenning@linux.vnet.ibm.com> Acked-by: Dan Magenheimer <dan.magenheimer@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/ide/umc8672.c')
0 files changed, 0 insertions, 0 deletions