diff options
| author | Alexander Aring <aahringo@redhat.com> | 2022-10-27 16:45:19 -0400 |
|---|---|---|
| committer | David Teigland <teigland@redhat.com> | 2022-11-08 12:59:41 -0600 |
| commit | 92e95733307e7b6dd352c12fa174089ed51e7208 (patch) | |
| tree | be0513dd02a0ea114adec2095304485c27f2bc20 /lib/mpi/mpiutil.c | |
| parent | a4c0352bb1094cbe242f4458e267de845790737a (diff) | |
fs: dlm: use spin lock instead of mutex
There is no need to use a mutex in those hot path sections. We change it
to spin lock to serve callbacks more faster by not allowing schedule.
The locked sections will not be locked for a long time.
Signed-off-by: Alexander Aring <aahringo@redhat.com>
Signed-off-by: David Teigland <teigland@redhat.com>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions
