Date: Wed, 13 May 2009 05:39:39 +0000 (UTC) From: Alan Cox <alc@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/kern vfs_bio.c src/sys/vm vm_page.c vm_page.h Message-ID: <200905130541.n4D5fZje046786@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
alc 2009-05-13 05:39:39 UTC FreeBSD src repository Modified files: sys/kern vfs_bio.c sys/vm vm_page.c vm_page.h Log: SVN rev 192034 on 2009-05-13 05:39:39Z by alc Eliminate page queues locking from bufdone_finish() through the following changes: Rename vfs_page_set_valid() to vfs_page_set_validclean() to reflect what this function actually does. Suggested by: tegge Introduce a new version of vfs_page_set_valid() that does no more than what the function's name implies. Specifically, it does not update the page's dirty mask, and thus it does not require the page queues lock to be held. Update two of the three callers to the old vfs_page_set_valid() to call vfs_page_set_validclean() instead because they actually require the page's dirty mask to be cleared. Introduce vm_page_set_valid(). Reviewed by: tegge Revision Changes Path 1.559 +36 -11 src/sys/kern/vfs_bio.c 1.376 +45 -0 src/sys/vm/vm_page.c 1.157 +1 -0 src/sys/vm/vm_page.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200905130541.n4D5fZje046786>