freebsd-dev/sys/amd64
Steve Passe 2645264a72 Debug version of simple_lock. This will store the CPU id of the
holding CPU along with the lock.  When a CPU fails to get the lock
it compares its own id to the holder id.  If they are the same it
panic()s, as simple locks are binary, and this would cause a deadlock.

Controlled by smptests.h: SL_DEBUG, ON by default.

Some minor cleanup.
1997-08-31 03:17:48 +00:00
..
amd64 Debug version of simple_lock. This will store the CPU id of the 1997-08-31 03:17:48 +00:00
conf Well, consensus seems very split on this so I talked it over with DG 1997-07-22 08:33:52 +00:00
include Debug version of simple_lock. This will store the CPU id of the 1997-08-31 03:17:48 +00:00
isa Another round of lock pushdown. 1997-08-30 08:08:10 +00:00
pci Removed unused #includes. 1997-07-20 14:10:18 +00:00
Makefile Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00