summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_trap.c
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2003-04-22 20:50:38 +0000
committerjhb <jhb@FreeBSD.org>2003-04-22 20:50:38 +0000
commit41837c0a1432e00773a9f7e1c844133dc3f62fc2 (patch)
tree7e1643dec04960e48deaf7881539cca7b70f183e /sys/kern/subr_trap.c
parentced60d737ac0e99b71a066dfb899c47260e50d34 (diff)
downloadFreeBSD-src-41837c0a1432e00773a9f7e1c844133dc3f62fc2.zip
FreeBSD-src-41837c0a1432e00773a9f7e1c844133dc3f62fc2.tar.gz
- Assert that the proc lock and sched_lock are held in sched_nice().
- For the 4BSD scheduler, this means that all callers of the static function resetpriority() now always hold sched_lock, so don't lock sched_lock explicitly in that function.
Diffstat (limited to 'sys/kern/subr_trap.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud