diff options
| author | Seth Jennings <[email protected]> | 2012-02-09 12:25:02 -0600 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2012-02-09 10:47:58 -0800 |
| commit | 72a9826b45c0d126f47c1acc8444c5d9ee478fcd (patch) | |
| tree | f4ac7c1bb888dd39cff9889b57b96b4c3e88d3ba /tools/perf/scripts/python/syscall-counts.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 <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions