]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
- Don't bother using the proc lock to test just P_SYSTEM as that is set in
authorjhb <jhb@FreeBSD.org>
Fri, 25 Apr 2003 20:06:30 +0000 (20:06 +0000)
committerjhb <jhb@FreeBSD.org>
Fri, 25 Apr 2003 20:06:30 +0000 (20:06 +0000)
commitc90ae13a7640a7d224108fb3d146ed5a8cf4275b
tree6aa5aed9de41ef2f1f8d91d3e5471c509910db95
parentec7071fcb8d6fb89b513f3c1ffa17de488f4f379
- 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.
sys/vm/vm_glue.c