ccdf233323
defined and will allow consumers, willing to provide options, file and line to locking requests, to not worry about options redefining the interfaces. This is typically useful when there is the need to build another locking interface on top of the mutex one. The introduced functions that consumers can use are: - mtx_lock_flags_ - mtx_unlock_flags_ - mtx_lock_spin_flags_ - mtx_unlock_spin_flags_ - mtx_assert_ - thread_lock_flags_ Spare notes: - Likely we can get rid of all the 'INVARIANTS' specification in the ppbus code by using the same macro as done in this patch (but this is left to the ppbus maintainer) - all the other locking interfaces may require a similar cleanup, where the most notable case is sx which will allow a further cleanup of vm_map locking facilities - The patch should be fully compatible with older branches, thus a MFC is previewed (infact it uses all the underlying mechanisms already present). Comments review by: eadler, Ben Kaduk Discussed with: kib, jhb MFC after: 1 month |
||
---|---|---|
.. | ||
if_plip.c | ||
immio.c | ||
lpbb.c | ||
lpt.c | ||
lpt.h | ||
lptio.h | ||
pcfclock.c | ||
ppb_1284.c | ||
ppb_1284.h | ||
ppb_base.c | ||
ppb_msq.c | ||
ppb_msq.h | ||
ppbconf.c | ||
ppbconf.h | ||
ppbio.h | ||
ppbus_if.m | ||
ppi.c | ||
ppi.h | ||
pps.c | ||
vpo.c | ||
vpoio.c | ||
vpoio.h |