39db0e9c7e
1) fix typo preventing compilation (missing comma). 2) in SLOCK_WHERE, display cpu number in the MP case. 3) the folowing race condition was observed in _simple_lock: cpu 1 releases lock, cpu 0 grabs lock cpu 1 sees it's already locked. cpu 1 sees that lock_holder== "cpu 1" cpu 1 assumes that it already holds it and barfs. cpu 0 sets lock_holder == "cpu 0" Fix: set lock_holder to LK_NOCPU in _simple_unlock(). |
||
---|---|---|
bin | ||
dist | ||
distrib | ||
etc | ||
games | ||
gnu | ||
include | ||
lib | ||
libexec | ||
regress | ||
sbin | ||
share | ||
sys | ||
usr.bin | ||
usr.sbin | ||
Makefile |