Date: Wed, 13 Mar 2002 15:48:08 -0800 (PST) From: Brian Feldman <green@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_mtxpool.c src/sys/sys kernel.h src/sys/vm vm_fault.c vm_glue.c vm_map.c vm_map.h vm_pageout.c vm_zone.c Message-ID: <200203132348.g2DNmAE12640@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
green 2002/03/13 15:48:08 PST Modified files: sys/kern kern_mtxpool.c sys/sys kernel.h sys/vm vm_fault.c vm_glue.c vm_map.c vm_map.h vm_pageout.c vm_zone.c Log: Rename SI_SUB_MUTEX to SI_SUB_MTX_POOL to make the name at all accurate. While doing this, move it earlier in the sysinit boot process so that the VM system can use it. After that, the system is now able to use sx locks instead of lockmgr locks in the VM system. To accomplish this, some of the more questionable uses of the locks (such as testing whether they are owned or not, as well as allowing shared+exclusive recursion) are removed, and simpler logic throughout is used so locks should also be easier to understand. This has been tested on my laptop for months, and has not shown any problems on SMP systems, either, so appears quite safe. One more user of lockmgr down, many more to go :) Revision Changes Path 1.4 +1 -1 src/sys/kern/kern_mtxpool.c 1.100 +1 -1 src/sys/sys/kernel.h 1.130 +7 -5 src/sys/vm/vm_fault.c 1.128 +1 -3 src/sys/vm/vm_glue.c 1.215 +60 -58 src/sys/vm/vm_map.c 1.71 +20 -10 src/sys/vm/vm_map.h 1.191 +1 -2 src/sys/vm/vm_pageout.c 1.52 +6 -6 src/sys/vm/vm_zone.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200203132348.g2DNmAE12640>