diff options
author | 2024-03-29 15:46:32 +0100 | |
---|---|---|
committer | 2024-04-09 18:35:58 +0200 | |
commit | 262ee3a07e98e8e56230547d4fe75d485348a55a (patch) | |
tree | f3aa758a7d7be67229646fba8a55ae6f7c755fe1 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | gfs2: Don't set GLF_LOCK in gfs2_dispose_glock_lru (diff) | |
download | wireguard-linux-262ee3a07e98e8e56230547d4fe75d485348a55a.tar.xz wireguard-linux-262ee3a07e98e8e56230547d4fe75d485348a55a.zip |
gfs2: Get rid of unnecessary test_and_set_bit
The GLF_LOCK flag is protected by the gl->gl_lockref.lock spin lock
which is held when entering run_queue(), so we can use test_bit() and
set_bit() here.
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions