Date: Thu, 29 Apr 2010 16:18:45 +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: <201004291619.o3TGJ3sT029575@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
alc 2010-04-29 16:18:45 UTC FreeBSD src repository Modified files: sys/vm vm_pageout.c Log: SVN rev 207374 on 2010-04-29 16:18:45Z by alc Simplify the inner loop of vm_pageout_object_deactivate_pages(). Rather than checking each page for PG_UNMANAGED, check the vm object's type. Only OBJT_PHYS can have unmanaged pages. Eliminate a pointless counter. The vm object is locked, that lock is never released by the inner loop, and the set of pages contained by the vm object is not changed by the inner loop. Therefore, the counter serves no purpose. Revision Changes Path 1.313 +4 -7 src/sys/vm/vm_pageout.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201004291619.o3TGJ3sT029575>