Date: Wed, 23 May 2001 15:48:29 -0700 (PDT) From: John Baldwin <jhb@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/vm vm_pageout.c Message-ID: <200105232248.f4NMmTq56091@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
jhb 2001/05/23 15:48:28 PDT
Modified files:
sys/vm vm_pageout.c
Log:
- Add in several asserts of vm_mtx.
- Assert Giant in vm_pageout_scan() for the vnode hacking that it does.
- Don't hold vm_mtx around vget() or vput().
- Lock Giant when calling vm_pageout_scan() from the pagedaemon. Also,
lock curproc while setting the P_BUFEXHAUST flag.
- For now we still hold Giant for all of the vm_daemon. When process
limits are locked we will be only need Giant for swapout_procs().
Revision Changes Path
1.176 +43 -6 src/sys/vm/vm_pageout.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200105232248.f4NMmTq56091>
