HomeFreeBSD

cache: tidy up handling of negative entries

Description

cache: tidy up handling of negative entries

  • track the total count of hot entries
  • pre-read the lock when shrinking since it is typically already taken
  • place the lock in its own cacheline
  • shorten the hold time of hot lock list when zapping

Sponsored by: The FreeBSD Foundation

Details

Provenance
mjgAuthored on Sep 23 2019, 8:50 PM
Parents
rG1eab19cbec44: Make nvme(4) driver some more NUMA aware.
Branches
Unknown
Tags
Unknown

Event Timeline