summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_prot.c
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2003-04-25 20:06:30 +0000
committerjhb <jhb@FreeBSD.org>2003-04-25 20:06:30 +0000
commitc90ae13a7640a7d224108fb3d146ed5a8cf4275b (patch)
tree6aa5aed9de41ef2f1f8d91d3e5471c509910db95 /sys/kern/kern_prot.c
parentec7071fcb8d6fb89b513f3c1ffa17de488f4f379 (diff)
downloadFreeBSD-src-c90ae13a7640a7d224108fb3d146ed5a8cf4275b.zip
FreeBSD-src-c90ae13a7640a7d224108fb3d146ed5a8cf4275b.tar.gz
- Don't bother using the proc lock to test just P_SYSTEM as that is set in
fork1() and never changes. - The proc lock is enough to cover reading p_state, so push down sched_lock into the PRS_NORMAL case of the switch on p_state.
Diffstat (limited to 'sys/kern/kern_prot.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud