diff options
author | 2012-08-01 15:36:24 -0400 | |
---|---|---|
committer | 2012-08-28 16:53:33 -0400 | |
commit | 66657b318e0e443ada229fccd40c8be86cfebdbf (patch) | |
tree | bf1334fff93556fbc8d82b26a6d5431fd9e74b5c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Btrfs: fix deadlock in wait_for_more_refs (diff) | |
download | linux-dev-66657b318e0e443ada229fccd40c8be86cfebdbf.tar.xz linux-dev-66657b318e0e443ada229fccd40c8be86cfebdbf.zip |
Btrfs: barrier before waitqueue_active
We need a barrir before calling waitqueue_active otherwise we will miss
wakeups. So in places that do atomic_dec(); then atomic_read() use
atomic_dec_return() which imply a memory barrier (see memory-barriers.txt)
and then add an explicit memory barrier everywhere else that need them.
Thanks,
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions