Date: Tue, 2 Apr 2002 15:26:33 -0800 (PST) From: Dag-Erling Smorgrav <des@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_mutex.c Message-ID: <200204022326.g32NQXJ53497@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200204022326.g32NQXJ53497>
