Subject: Re: kern/30154
To: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
From: Christos Zoulas <christos@zoulas.com>
List: netbsd-bugs
Date: 05/08/2005 23:09:47
On May 9, 11:38am, yamt@mwd.biglobe.ne.jp (YAMAMOTO Takashi) wrote:
-- Subject: Re: kern/30154

| > What are unsafe interrupts in
| > this context though? Is splsoftnet() good enough?
| 
| i think so.
| 
| it'd be better to use macros like UIDINFO_LOCK so that it can be
| changed later.

Well, unfortunately struct uidinfo is used for # of processes and
# of locks accounting, where locking with splsoftnet() does not make
a lot of sense. I will add the spl protection in chgsbsize() though.

| (and/or revive newlock branch :-)

Yes :-)

christos