Date: Thu, 20 May 2010 16:21:19 +0000 (UTC) From: Alan Cox <alc@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/vm vm_object.c Message-ID: <201005201621.o4KGLZI7048856@repoman.freebsd.org>
index | next in thread | raw e-mail
alc 2010-05-20 16:21:19 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_8)
sys/vm vm_object.c
Log:
SVN rev 208352 on 2010-05-20 16:21:19Z by alc
MFC r207306
Change vm_object_madvise() so that it checks whether the page is invalid
or unmanaged before acquiring the page queues lock. Neither of these
tests require that lock. Moreover, a better way of testing if the page
is unmanaged is to test the type of vm object. This avoids a pointless
vm_page_lookup().
Revision Changes Path
1.408.2.4 +6 -10 src/sys/vm/vm_object.c
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201005201621.o4KGLZI7048856>
