Magic symlinks redux

Dag-Erling Smørgrav des at des.no
Sat Aug 23 09:27:41 UTC 2008


Brooks Davis <brooks at freebsd.org> writes:
> One other option we discussed at the devsummit was requiring that the first
> 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
-- 
Dag-Erling Smørgrav - des at des.no


More information about the freebsd-arch mailing list