From owner-cvs-all Fri Oct 18 10:24:46 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 4F22837B401; Fri, 18 Oct 2002 10:24:45 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0FEE143E8A; Fri, 18 Oct 2002 10:24:45 -0700 (PDT) (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 g9IHOVmV064946; Fri, 18 Oct 2002 10:24:31 -0700 (PDT) (envelope-from dillon@repoman.freebsd.org) Received: (from dillon@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id g9IHOVxW064945; Fri, 18 Oct 2002 10:24:31 -0700 (PDT) Message-Id: <200210181724.g9IHOVxW064945@repoman.freebsd.org> From: Matt Dillon Date: Fri, 18 Oct 2002 10:24:31 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/vm vm_object.c vm_object.h vm_page.c vm_page.h 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/10/18 10:24:31 PDT Modified files: sys/vm vm_object.c vm_object.h vm_page.c vm_page.h Log: Replace the vm_page hash table with a per-vmobject splay tree. There should be no major change in performance from this change at this time but this will allow other work to progress: Giant lock removal around VM system in favor of per-object mutexes, ranged fsyncs, more optimal COMMIT rpc's for NFS, partial filesystem syncs by the syncer, more optimal object flushing, etc. Note that the buffer cache is already using a similar splay tree mechanism. Note that a good chunk of the old hash table code is still in the tree. Alan or I will remove it prior to the release if the new code does not introduce unsolvable bugs, else we can revert more easily. Submitted by: alc (this is Alan's code) Approved by: re Revision Changes Path 1.235 +1 -0 src/sys/vm/vm_object.c 1.84 +1 -0 src/sys/vm/vm_object.h 1.215 +92 -58 src/sys/vm/vm_page.c 1.112 +2 -1 src/sys/vm/vm_page.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message