Date: Sun, 26 Nov 2000 04:08:19 -0800 (PST) From: Alfred Perlstein <alfred@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/sys resourcevar.h src/sys/kern kern_resource.c Message-ID: <200011261208.EAA95853@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
alfred 2000/11/26 04:08:19 PST
Modified files:
sys/sys resourcevar.h
sys/kern kern_resource.c
Log:
Make uidinfo subsystem mpsafe
use a mutex lock when looking up/deleting entries on the hashlist
use a mutex lock on each uidinfo when updating fields
make uifree() a void function rather than 'int' since no one cares
allocate uidinfo structs with the M_ZERO flag and don't explicitly initialize
them
Assisted by: eivind, jhb, jakeb
Revision Changes Path
1.18 +11 -3 src/sys/sys/resourcevar.h
1.66 +46 -23 src/sys/kern/kern_resource.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?200011261208.EAA95853>
