Date: Thu, 12 Oct 2000 15:37:29 -0700 (PDT) From: Jason Evans <jasone@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/conf param.c src/sys/kern kern_lock.c src/sys/sys kernel.h lock.h src/sys/vm vm_map.h Message-ID: <200010122237.PAA12428@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
jasone 2000/10/12 15:37:29 PDT
Modified files:
sys/conf param.c
sys/kern kern_lock.c
sys/sys kernel.h lock.h
sys/vm vm_map.h
Log:
For lockmgr mutex protection, use an array of mutexes that are allocated
and initialized during boot. This avoids bloating sizeof(struct lock).
As a side effect, it is no longer necessary to enforce the assumtion that
lockinit()/lockdestroy() calls are paired, so the LK_VALID flag has been
removed.
Idea taken from: BSD/OS.
Revision Changes Path
1.39 +9 -1 src/sys/conf/param.c
1.36 +80 -23 src/sys/kern/kern_lock.c
1.71 +2 -1 src/sys/sys/kernel.h
1.21 +2 -8 src/sys/sys/lock.h
1.56 +5 -5 src/sys/vm/vm_map.h
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?200010122237.PAA12428>
