Subject: Re: namecache (Re: code to store the path of the executable in struct proc...)
To: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
From: Jason Thorpe <thorpej@shagadelic.org>
List: tech-kern
Date: 10/14/2007 18:34:05
On Oct 9, 2007, at 6:29 PM, YAMAMOTO Takashi wrote:
>> On Sep 20, 2007, at 5:14 PM, Andrew Doran wrote:
>>
>>> The reverse mapping makes me uncomfortable. For MP the namecache
>>> needs to be
>>> simple because it's one item of shared state that gets hammered on.
>>> Is it
>>> possible to get the path at exec time?
>>
>> I've been thinking of rewriting the name cache. The changes I have
>> in
>> mind would allow you to always get the path for a file.
>>
>> -- thorpej
>
> are you going to make it a layer upper than vnodeops,
> like dragonfly and linux?
Yes, it would be above the vnode ops.
(Sorry for the delay -- I was on vacation and far enough from
civilization that EDGE didn't work.)
-- thorpej