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
Parents
rS352630: Make nvme(4) driver some more NUMA aware.
Branches
Unknown
Tags
Unknown