aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/test_autoload.c
diff options
context:
space:
mode:
authorAndreas Gruenbacher <[email protected]>2024-03-15 16:45:39 +0100
committerAndreas Gruenbacher <[email protected]>2024-04-09 18:35:57 +0200
commitee2be7d7c7f32783f60ee5fe59b91548a4571f10 (patch)
tree33b3e88becb4b2bfe7bad319602d44549ad1c7fc /tools/testing/selftests/bpf/progs/test_autoload.c
parentf80d882edcf242d0256d9e51b09d5fb7a3a0d3b4 (diff)
gfs2: Replace gfs2_glock_queue_put with gfs2_glock_put_async
Function gfs2_glock_queue_put() puts a glock reference by enqueuing glock work instead of putting the reference directly. This ensures that the operation won't sleep, but it is costly and really only necessary when putting the final glock reference. Replace it with a new gfs2_glock_put_async() function that only queues glock work when putting the last glock reference. Signed-off-by: Andreas Gruenbacher <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions