Date: Thu, 6 May 2010 04:57:33 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/vm vm_contig.c vm_pageout.c vm_pageout.h Message-ID: <201005060457.o464vhfo046175@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
kib 2010-05-06 04:57:33 UTC FreeBSD src repository Modified files: sys/vm vm_contig.c vm_pageout.c vm_pageout.h Log: SVN rev 207694 on 2010-05-06 04:57:33Z by kib Add a helper function vm_pageout_page_lock(), similar to tegge' vm_pageout_fallback_object_lock(), to obtain the page lock while having page queue lock locked, and still maintain the page position in a queue. Use the helper to lock the page in the pageout daemon and contig launder iterators instead of skipping the page if its lock is contested. Skipping locked pages easily causes pagedaemon or launder to not make a progress with page cleaning. Proposed and reviewed by: alc Revision Changes Path 1.79 +4 -2 src/sys/vm/vm_contig.c 1.319 +60 -12 src/sys/vm/vm_pageout.c 1.44 +1 -0 src/sys/vm/vm_pageout.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201005060457.o464vhfo046175>