diff options
| author | Seth Jennings <sjenning@linux.vnet.ibm.com> | 2012-02-09 12:25:02 -0600 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-02-09 10:47:58 -0800 |
| commit | 72a9826b45c0d126f47c1acc8444c5d9ee478fcd (patch) | |
| tree | f4ac7c1bb888dd39cff9889b57b96b4c3e88d3ba /tools/perf/scripts/python/netdev-times.py | |
| parent | 8f9cde23c3f7b74dfad617d2ffbbb5c2ba55e1ee (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
