Module Name: src
Committed By: pgoyette
Date: Mon May 1 21:35:26 UTC 2017
Modified Files:
src/sys/kern: kern_mutex.c subr_lockdebug.c
src/sys/rump/librump/rumpkern: locks.c
src/sys/sys: mutex.h
Log Message:
Introduce mutex_ownable() to determine if it is possible for the
current process to acquire a mutex.
XXX I don't think this needs a kernel version bump, but not 100%
XXX certain. If anyone thinks that the new overloading of the
XXX "shared" argument to lockdebug_wantlock() deserves a bump,
XXX please let me know!
+------------------+--------------------------+----------------------------+
| Paul Goyette | PGP Key fingerprint: | E-mail addresses: |
| (Retired) | FA29 0E3B 35AF E8AE 6651 | paul at whooppee dot com |
| Kernel Developer | 0786 F758 55DE 53BA 7731 | pgoyette at netbsd dot org |
+------------------+--------------------------+----------------------------+