Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Aug 2008 11:27:40 +0200
From:      =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@des.no>
To:        Brooks Davis <brooks@freebsd.org>
Cc:        Ivan Voras <ivoras@freebsd.org>, freebsd-arch@freebsd.org
Subject:   Re: Magic symlinks redux
Message-ID:  <86ljyof5df.fsf@ds4.des.no>
In-Reply-To: <20080822161314.GE57443@lor.one-eyed-alien.net> (Brooks Davis's message of "Fri, 22 Aug 2008 11:13:14 -0500")
References:  <g8kv7v$sp2$1@ger.gmane.org> <20080822150020.GA57443@lor.one-eyed-alien.net> <9bbcef730808220802pa84b597u457100a23b03a80c@mail.gmail.com> <20080822153945.GC57443@lor.one-eyed-alien.net> <9bbcef730808220853q22666b44n5ca2b7add991191f@mail.gmail.com> <20080822161314.GE57443@lor.one-eyed-alien.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Brooks Davis <brooks@freebsd.org> writes:
> One other option we discussed at the devsummit was requiring that the fir=
st
> character of a variant symlink be special to reduce parsing overhead.  I.=
e.
> requiring that variant symlinks start with @ or % or something.

A much tidier option (which was also discussed) is to set a bit on the
cnp if the symlink is found to be variant when it first enters the
cache.  This way, we don't penalize non-variant symlinks that begin with
a @ or %.

DES
--=20
Dag-Erling Sm=C3=B8rgrav - des@des.no



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86ljyof5df.fsf>