freebsd-dev/sys/alpha
bmilekic f651960449 Implement MTX_RECURSE flag for mtx_init().
All calls to mtx_init() for mutexes that recurse must now include
the MTX_RECURSE bit in the flag argument variable. This change is in
preparation for an upcoming (further) mutex API cleanup.
The witness code will call panic() if a lock is found to recurse but
the MTX_RECURSE bit was not set during the lock's initialization.

The old MTX_RECURSE "state" bit (in mtx_lock) has been renamed to
MTX_RECURSED, which is more appropriate given its meaning.

The following locks have been made "recursive," thus far:
eventhandler, Giant, callout, sched_lock, possibly some others declared
in the architecture-specific code, all of the network card driver locks
in pci/, as well as some other locks in dev/ stuff that I've found to
be recursive.

Reviewed by: jhb
2001-01-19 01:59:14 +00:00
..
alpha Implement MTX_RECURSE flag for mtx_init(). 2001-01-19 01:59:14 +00:00
conf Remove NOBLOCKRANDOM as a compile-time option. Instead, provide 2001-01-14 17:50:15 +00:00
include These files have been on deathrow for a couple of months, no appeal. 2001-01-16 10:01:56 +00:00
isa Alter isa interrupt behaviour on alpha. Rather than send a non-specific 2000-12-01 22:28:04 +00:00
linux Minor cleanups: 2000-12-05 09:06:41 +00:00
mcbus Fix ypo in essage about isabling EISA nterrupt ector 2000-12-15 23:09:05 +00:00
osf1 Next phase in the PCI subsystem cleanup. 2000-12-08 22:11:23 +00:00
pci Next phase in the PCI subsystem cleanup. 2000-12-08 22:11:23 +00:00
tc Make all Ethernet drivers attach using ether_ifattach() and detach using 2000-07-13 22:54:34 +00:00
tlsb remove unneded sys/ucred.h includes 2000-11-30 18:52:32 +00:00
Makefile Add a dopey makefile to do the tags dance, which is probably not perfect 2000-12-31 23:26:34 +00:00