Skip to content
Commit d8421202 authored by J. Bruce Fields's avatar J. Bruce Fields
Browse files

lockd: convert nsm_mutex to a spinlock



There's no reason for a mutex here, except to allow an allocation under
the lock, which we can avoid with the usual trick of preallocating
memory for the new object and freeing it if it turns out to be
unnecessary.

Signed-off-by: default avatarJ. Bruce Fields <bfields@citi.umich.edu>
parent a95e56e7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment