Subject: Re: CVS commit: src/sys/kern
To: None <christos@netbsd.org>
From: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
List: tech-kern
Date: 03/23/2005 09:15:14
> Module Name:	src
> Committed By:	christos
> Date:		Sun Mar 20 19:15:48 UTC 2005
> 
> Modified Files:
> 	src/sys/kern: kern_resource.c
> 
> Log Message:
> It does not make sense to free the uidinfo struct since it is used now
> for multiple things (proccnt,lockcnt,sbsize) and it adds too much code
> complexity. Instead add a uid_find() routine that returns the existing
> struct or allocates a new one.

what's wrong with the freebsd's scheme?  ie. reference from credentials

YAMAMOTO Takashi