From owner-cvs-all Thu Nov 30 11:15:26 2000 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 1AC6C37B401; Thu, 30 Nov 2000 11:15:23 -0800 (PST) Received: (from alfred@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id eAUJFN960975; Thu, 30 Nov 2000 11:15:23 -0800 (PST) (envelope-from alfred) Message-Id: <200011301915.eAUJFN960975@freefall.freebsd.org> From: Alfred Perlstein Date: Thu, 30 Nov 2000 11:15:23 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/sys resourcevar.h src/sys/kern kern_resource.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG alfred 2000/11/30 11:15:23 PST Modified files: sys/sys resourcevar.h sys/kern kern_resource.c Log: use a oppurtunistic locking strategy with the uidinfo structures to avoid locking the global hash on each uifree() make struct uidinfo only visible to the kernel make uihold() a function rather than a macro to reduce bloat swap the order of a spl/mutex to maintain consistancy Revision Changes Path 1.19 +5 -10 src/sys/sys/resourcevar.h 1.67 +56 -5 src/sys/kern/kern_resource.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message