tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: NCHNAMLEN vnode cache limitation removal



> On Sep 11, 2019, at 8:18 AM, David Holland <dholland-tech%netbsd.org@localhost> wrote:
> 
> I'm confused; nothing in there should lead to duplicate entries...

Duplicate names != duplicate entries.

Consider the case:

bin/CVS
bin/cat/CVS
.
.
.
bin/sh/CVS
.
.
.

Distinct vnodes, with distinct parents, all having the same name.

Another advantage of de-duping the name strings is that you can compare names by testing pointer equivalence.

-- thorpej



Home | Main Index | Thread Index | Old Index