From owner-cvs-all Sat Dec 28 13: 3:43 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C73B737B401; Sat, 28 Dec 2002 13:03:42 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8619D43E4A; Sat, 28 Dec 2002 13:03:42 -0800 (PST) (envelope-from dillon@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id gBSL3gfh025000; Sat, 28 Dec 2002 13:03:42 -0800 (PST) (envelope-from dillon@repoman.freebsd.org) Received: (from dillon@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id gBSL3gN3024999; Sat, 28 Dec 2002 13:03:42 -0800 (PST) Message-Id: <200212282103.gBSL3gN3024999@repoman.freebsd.org> From: Matt Dillon Date: Sat, 28 Dec 2002 13:03:42 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/vm vm_object.c vm_pager.h vnode_pager.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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