From owner-cvs-all Tue Apr 2 15:26:45 2002 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 393EA37B41E; Tue, 2 Apr 2002 15:26:33 -0800 (PST) Received: (from des@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g32NQXJ53497; Tue, 2 Apr 2002 15:26:33 -0800 (PST) (envelope-from des) Message-Id: <200204022326.g32NQXJ53497@freefall.freebsd.org> From: Dag-Erling Smorgrav Date: Tue, 2 Apr 2002 15:26:33 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_mutex.c 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 des 2002/04/02 15:26:33 PST Modified files: sys/kern kern_mutex.c Log: Revert to open hashing. It makes the code simpler, and works farily well even when the number of records approaches the size of the hash table. Besides, the previous implementation (using linear probing) was broken :) Also, use the newly introduced MTX_SYSINIT. Revision Changes Path 1.89 +10 -16 src/sys/kern/kern_mutex.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message