Date: Wed, 28 Apr 2010 04:57:32 +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: <201004280457.o3S4vrtP050617@repoman.freebsd.org>
index | next in thread | raw e-mail
alc 2010-04-28 04:57:32 UTC
FreeBSD src repository
Modified files:
sys/vm vm_object.c
Log:
SVN rev 207306 on 2010-04-28 04:57:32Z by alc
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().
MFC after: 3 weeks
Revision Changes Path
1.413 +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?201004280457.o3S4vrtP050617>
