diff options
author | David Howells <[email protected]> | 2024-12-13 13:50:07 +0000 |
---|---|---|
committer | Christian Brauner <[email protected]> | 2024-12-20 22:07:57 +0100 |
commit | aa3956418985bda1f68313eadde3267921847978 (patch) | |
tree | 62176c015bdd64d9e60aff8f4862053752dcdfa6 /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | f4d3cde410cc62b5483f59f0f3454a5c5203a2cb (diff) |
netfs: Fix missing barriers by using clear_and_wake_up_bit()
Use clear_and_wake_up_bit() rather than something like:
clear_bit_unlock(NETFS_RREQ_IN_PROGRESS, &rreq->flags);
wake_up_bit(&rreq->flags, NETFS_RREQ_IN_PROGRESS);
as there needs to be a barrier inserted between which is present in
clear_and_wake_up_bit().
Fixes: 288ace2f57c9 ("netfs: New writeback implementation")
Fixes: ee4cdf7ba857 ("netfs: Speed up buffered reading")
Signed-off-by: David Howells <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Akira Yokosawa <[email protected]>
cc: Zilin Guan <[email protected]>
cc: Akira Yokosawa <[email protected]>
cc: Jeff Layton <[email protected]>
cc: [email protected]
cc: [email protected]
Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions