diff options
| author | Nikolay Borisov <nborisov@suse.com> | 2017-10-20 18:10:58 +0300 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2018-01-22 16:08:10 +0100 |
| commit | 4660c49f9b4ad50eab410de09eeacc2e3aebf1f5 (patch) | |
| tree | 89130cb6eb02df2822a16dc5debd7c432fe781e2 /tools/perf/scripts/python/call-graph-from-sql.py | |
| parent | btrfs: Fix memory barriers usage with device stats counters (diff) | |
| download | linux-4660c49f9b4ad50eab410de09eeacc2e3aebf1f5.tar.gz linux-4660c49f9b4ad50eab410de09eeacc2e3aebf1f5.zip | |
btrfs: Remove redundant memory barrier in dev stats
As per atomic_t.txt documentation :
- RMW operations that have a return value are fully ordered;
atomic_xchg is one such operation so it already includes everything it
needs w.r.t memory ordering and add a comment to be more explicit about
that.
Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions
