Re: namecache documentation and locking

2012-06-02 Thread Benjamin Kaduk
On Sun, 3 Jun 2012, Konstantin Belousov wrote: On Sat, Jun 02, 2012 at 11:34:21PM +, Benjamin Kaduk wrote: Hi all, This caused me to take a look at the namecache functions and find not very much documentation of their use. I see that NetBSD has had a namecache.9 man page since 2001 [2], a

Re: namecache documentation and locking

2012-06-02 Thread Konstantin Belousov
On Sat, Jun 02, 2012 at 11:34:21PM +, Benjamin Kaduk wrote: > Hi all, > > My colleague recently pointed out to me that I was calling vgone() when I > probably wanted to be using cache_purge() (as is done for implementations > of this OS-specific function in other BSDs [1]). > > This caused

namecache documentation and locking

2012-06-02 Thread Benjamin Kaduk
Hi all, My colleague recently pointed out to me that I was calling vgone() when I probably wanted to be using cache_purge() (as is done for implementations of this OS-specific function in other BSDs [1]). This caused me to take a look at the namecache functions and find not very much documen