aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorMikulas Patocka <[email protected]>2022-08-10 09:00:42 -0400
committerDavid S. Miller <[email protected]>2022-08-12 10:46:01 +0100
commit9f414eb409daf4f778f011cf8266d36896bb930b (patch)
tree7cfe718f6051784b6098b114be7f00db6d34dbad /scripts/gdb/linux/utils.py
parent7ebfc85e2cd7b08f518b526173e9a33b56b3913b (diff)
rds: add missing barrier to release_refill
The functions clear_bit and set_bit do not imply a memory barrier, thus it may be possible that the waitqueue_active function (which does not take any locks) is moved before clear_bit and it could miss a wakeup event. Fix this bug by adding a memory barrier after clear_bit. Signed-off-by: Mikulas Patocka <[email protected]> Cc: [email protected] Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions