diff options
author | 2024-08-02 13:26:44 -0400 | |
---|---|---|
committer | 2024-08-08 15:15:08 -0500 | |
commit | 98ff7d95d91b56d8f2fdd0c4d0421f7fbb538cba (patch) | |
tree | b426d96a5cf27e54f48ef2966c16db53ee421ccb /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | dlm: async freeing of lockspace resources (diff) | |
download | wireguard-linux-98ff7d95d91b56d8f2fdd0c4d0421f7fbb538cba.tar.xz wireguard-linux-98ff7d95d91b56d8f2fdd0c4d0421f7fbb538cba.zip |
dlm: use RSB_HASHED to avoid lookup twice
Since commit 01fdeca1cc2d ("dlm: use rcu to avoid an extra rsb struct
lookup") _dlm_master_lookup() is called under rcu lock that prevents
that the rsb structure is being freed. There was a missing change to
avoid an additional lookup and just check that the rsb is still part of
the ls_rsbtbl structure. This patch is doing such check instead of
lookup the rsb structure again.
Signed-off-by: Alexander Aring <aahringo@redhat.com>
Signed-off-by: David Teigland <teigland@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions