Date: Wed, 30 Jun 2010 17:20:33 +0000 (UTC) From: Alan Cox <alc@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/vm vm_pageout.c Message-ID: <201006301720.o5UHKpk2052656@repoman.freebsd.org>
index | next in thread | raw e-mail
alc 2010-06-30 17:20:33 UTC
FreeBSD src repository
Modified files:
sys/vm vm_pageout.c
Log:
SVN rev 209610 on 2010-06-30 17:20:33Z by alc
Simplify entry to vm_pageout_clean(). Expect the page to be locked.
Previously, the caller unlocked the page, and vm_pageout_clean()
immediately reacquired the page lock. Also, assert rather than test
that the page is neither busy nor held. Since vm_pageout_clean() is
called with the object and page locked, the page can't have changed
state since the caller verified that the page is neither busy nor
held.
Revision Changes Path
1.327 +4 -8 src/sys/vm/vm_pageout.c
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201006301720.o5UHKpk2052656>
