commit | d8421202121ce74daf4625ca9d1d825bbd7ce66a | [log] [tgz] |
---|---|---|
author | J. Bruce Fields <bfields@citi.umich.edu> | Wed Feb 20 15:40:15 2008 -0500 |
committer | J. Bruce Fields <bfields@citi.umich.edu> | Wed Apr 23 16:13:39 2008 -0400 |
tree | 0465a155e03b97660d2f887e702b8f2917889c75 | |
parent | a95e56e72c196970a8067cd515c658d064813170 [diff] |
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: J. Bruce Fields <bfields@citi.umich.edu>