aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/i2c/algos/i2c-algo-bit.c
diff options
context:
space:
mode:
authorSeth Jennings <sjenning@linux.vnet.ibm.com>2011-12-30 10:42:15 -0600
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-02-08 14:14:14 -0800
commit2a4830110b90deb4ee99b1ab8c8ebb120f27c0c8 (patch)
tree642f3ddca90439ff7fff2b76474319de2525807c /drivers/i2c/algos/i2c-algo-bit.c
parentstaging: fix go7007-usb license (diff)
downloadwireguard-linux-2a4830110b90deb4ee99b1ab8c8ebb120f27c0c8.tar.xz
wireguard-linux-2a4830110b90deb4ee99b1ab8c8ebb120f27c0c8.zip
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/i2c/algos/i2c-algo-bit.c')
0 files changed, 0 insertions, 0 deletions