commit | f66227de5924ed0fde1823f5cbc4d8b8f45faaa2 | [log] [tgz] |
---|---|---|
author | Omar Sandoval <osandov@fb.com> | Wed Jan 18 11:55:21 2017 -0800 |
committer | Jens Axboe <axboe@fb.com> | Wed Jan 18 13:41:49 2017 -0700 |
tree | 0de01e70f6d96b76b1b38e66a0b4bef2231b9634 | |
parent | 4d199c6f1c847151ea393d5b9946a17cc57cdf6d [diff] |
sbitmap: use smp_mb__after_atomic() in sbq_wake_up() We always do an atomic clear_bit() right before we call sbq_wake_up(), so we can use smp_mb__after_atomic(). While we're here, comment the memory barriers in here a little more. Signed-off-by: Omar Sandoval <osandov@fb.com> Signed-off-by: Jens Axboe <axboe@fb.com>