aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines
diff options
context:
space:
mode:
authorMiao Xie <miaox@cn.fujitsu.com>2014-02-20 18:08:55 +0800
committerJosef Bacik <jbacik@fb.com>2014-03-10 15:16:41 -0400
commit7483e1a4464999c72b231af0efe39cb31fd73f14 (patch)
treea9e5db4bb0cdd568002b735aa795109e9f9d4f32 /tools/perf/util/scripting-engines
parente87ac1368700af66c295afa47e5c7df0d9d8b919 (diff)
Btrfs: remove unnecessary memory barrier in btrfs_sync_log()
Mutex unlock implies certain memory barriers to make sure all the memory operation completes before the unlock, and the next mutex lock implies memory barriers to make sure the all the memory happens after the lock. So it is a full memory barrier(smp_mb), we needn't add memory barriers. Remove them. Signed-off-by: Miao Xie <miaox@cn.fujitsu.com> Signed-off-by: Josef Bacik <jbacik@fb.com>
Diffstat (limited to 'tools/perf/util/scripting-engines')
0 files changed, 0 insertions, 0 deletions