summaryrefslogtreecommitdiffstats
path: root/sys/sys
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2000-10-25 00:04:16 +0000
committerjhb <jhb@FreeBSD.org>2000-10-25 00:04:16 +0000
commit9ae17765f4740fe141af70bd43e76df819daaec7 (patch)
tree009d090bd2f28fd50dc302cf7c2b9dd49cb2a854 /sys/sys
parentb8040f9ced260ed168c0b5f3565c979e081f4a78 (diff)
downloadFreeBSD-src-9ae17765f4740fe141af70bd43e76df819daaec7.zip
FreeBSD-src-9ae17765f4740fe141af70bd43e76df819daaec7.tar.gz
- Catch a machine/mutex.h -> sys/mutex.h I somehow missed.
- Close a small race condition. The sched_lock mutex protects p->p_stat as well as the run queues. Another CPU could change p_stat of the process while we are waiting for the lock, and we would end up scheduling a process that isn't runnable.
Diffstat (limited to 'sys/sys')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud