Date: Fri, 18 Oct 2002 10:24:31 -0700 (PDT) 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_object.h vm_page.c vm_page.h Message-ID: <200210181724.g9IHOVxW064945@repoman.freebsd.org>
index | next in thread | raw e-mail
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
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200210181724.g9IHOVxW064945>
