summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorSeth Jennings <sjenning@linux.vnet.ibm.com>2012-02-09 12:25:02 -0600
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-02-09 10:47:58 -0800
commit72a9826b45c0d126f47c1acc8444c5d9ee478fcd (patch)
treef4ac7c1bb888dd39cff9889b57b96b4c3e88d3ba /tools/perf/scripts/python/netdev-times.py
parent8f9cde23c3f7b74dfad617d2ffbbb5c2ba55e1ee (diff)
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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions