Date: Sat, 28 Dec 2002 13:03:42 -0800 (PST) From: Matt Dillon <dillon@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/vm vm_object.c vm_pager.h vnode_pager.c Message-ID: <200212282103.gBSL3gN3024999@repoman.freebsd.org>
index | next in thread | raw e-mail
dillon 2002/12/28 13:03:42 PST
Modified files:
sys/vm vm_object.c vm_pager.h vnode_pager.c
Log:
Allow the VM object flushing code to cluster. When the filesystem syncer
comes along and flushes a file which has been mmap()'d SHARED/RW, with
dirty pages, it was flushing the underlying VM object asynchronously,
resulting in thousands of 8K writes. With this change the VM Object flushing
code will cluster dirty pages in 64K blocks.
Note that until the low memory deadlock issue is reviewed, it is not safe
to allow the pageout daemon to use this feature. Forced pageouts still
use fs block size'd ops for the moment.
MFC after: 3 days
Revision Changes Path
1.250 +10 -3 src/sys/vm/vm_object.c
1.37 +4 -2 src/sys/vm/vm_pager.h
1.165 +8 -2 src/sys/vm/vnode_pager.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200212282103.gBSL3gN3024999>
