Date: Fri, 25 Apr 2003 13:06:30 -0700 (PDT) From: John Baldwin <jhb@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/vm vm_glue.c Message-ID: <200304252006.h3PK6UXf082231@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jhb 2003/04/25 13:06:30 PDT
FreeBSD src repository
Modified files:
sys/vm vm_glue.c
Log:
- 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.
Revision Changes Path
1.169 +6 -8 src/sys/vm/vm_glue.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200304252006.h3PK6UXf082231>
