diff options
author | 2022-05-02 11:14:10 -0400 | |
---|---|---|
committer | 2022-05-02 11:23:49 -0500 | |
commit | 8e51ec6146fdec82f7308f89113497631013f16a (patch) | |
tree | b2ca657b32bb99488d760c16832ca5c9f909550a /scripts/gdb/linux/utils.py | |
parent | dlm: use kref_put_lock in put_rsb (diff) | |
download | wireguard-linux-8e51ec6146fdec82f7308f89113497631013f16a.tar.xz wireguard-linux-8e51ec6146fdec82f7308f89113497631013f16a.zip |
dlm: use kref_put_lock in __put_lkb
This patch will optimize __put_lkb() by using kref_put_lock(). The
function kref_put_lock() will only take the lock if the reference is
going to be zero, if not the lock will never be held.
Signed-off-by: Alexander Aring <aahringo@redhat.com>
Signed-off-by: David Teigland <teigland@redhat.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions