HomeFreeBSD

cache: lockless reverse lookup

Description

cache: lockless reverse lookup

This enables fully scalable operation for getcwd and significantly improves
realpath.

For example:
PATH_CUSTOM=/usr/src ./getcwd_processes -t 104
before: 1550851
after: 380135380

Tested by: pho

Details

Provenance
mjgAuthored on Aug 24 2020, 9:00 AM
Parents
rGfeabaaf9956a: cache: drop the always curthread argument from reverse lookup routines
Branches
Unknown
Tags
Unknown

Event Timeline