6390046137
- Now compatible with MULTIPROCESSOR (requires other changes not yet committed, but which will be later today). - In addition to tracking simple locks, track exclusive spin locks. - Count spin locks like we do sleep locks (in the cpu_info for this CPU). - Lock debug lists are now TAILQs, so as to make the locking order more obvious when dumping the list. Also, some suggestions from Bill Sommerfeld: - SIMPLELOCK_LOCKED and SIMPLELOCK_UNLOCKED constants, which may be defined in <machine/lock.h> (default to 1 and 0, respectively). This makes it easier to support architectures which use test-and-clear rather than test-and-set. - Add __attribute__((__aligned__)) to the `lock_data' member of the simplelock structure. This makes it easier to support architectures which can only perform atomic operations on very-well-aligned memory locations. NOTE: This changes the size of struct simplelock, and will cause a version bump. |
||
---|---|---|
bin | ||
distrib | ||
etc | ||
games | ||
gnu | ||
include | ||
lib | ||
libexec | ||
regress | ||
sbin | ||
share | ||
sys | ||
usr.bin | ||
usr.sbin | ||
Makefile |