diff options
author | jhb <jhb@FreeBSD.org> | 2001-03-28 16:11:51 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2001-03-28 16:11:51 +0000 |
commit | f96cb16a4adb80bbed4e5570638ca2b8a1edc96f (patch) | |
tree | 39662e8bbbe9d34367811e45b9667f17d0d363b7 /usr.bin/ee/nls/uk_UA.KOI8-U | |
parent | 4d55d58720d6ddd6d85f7b32cb6ad850331dc6f2 (diff) | |
download | FreeBSD-src-f96cb16a4adb80bbed4e5570638ca2b8a1edc96f.zip FreeBSD-src-f96cb16a4adb80bbed4e5570638ca2b8a1edc96f.tar.gz |
Close a race condition where if we were obtaining a sleep lock and no spin
locks were held, we could be preempted and switch CPU's in between the time
that we set a variable to the list of spin locks on our CPU and the time
that we checked that variable to ensure no spinlocks were held while
grabbing a sleep lock. Losing the race resulted in checking some other
CPU's spin lock list and bogusly panicing.
Diffstat (limited to 'usr.bin/ee/nls/uk_UA.KOI8-U')
0 files changed, 0 insertions, 0 deletions