Subject: Re: kern/35253
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
List: netbsd-bugs
Date: 12/26/2006 12:20:02
The following reply was made to PR kern/35253; it has been noted by GNATS.

From: yamt@mwd.biglobe.ne.jp (YAMAMOTO Takashi)
To: elad@NetBSD.org
Cc: gnats-bugs@NetBSD.org
Subject: Re: kern/35253
Date: Tue, 26 Dec 2006 21:19:43 +0900 (JST)

 > > - rehash only when the difference between actual and ideal size is big
 > >   enough.
 > 
 > by ideal I guess you mean the "size it was last optimized for"?
 
 i meant, actual and ideal size of the hash table.
 
 > > - use a timer to avoid too frequent rehash.
 > 
 > can that be done in the kernel safely?
 
 i don't see any reason why it can't be done safely.
 
 YAMAMOTO Takashi