Linux 7.0 Aims to Replace More Caching Code with Sheaves
4 days ago
- #Kernel
- #Linux
- #Performance
- Linux 7.0 aims to replace more CPU slabs/caches with sheaves for improved performance.
- Sheaves, introduced in Linux 6.18, is an opt-in per-CPU array-based caching layer.
- Patches to replace CPU partial slabs with sheaves are queued in slab/for-next Git branch.
- Per-CPU partial caches, previously used for accelerating object allocation/freeing, are now eliminated by sheaves.
- Performance improvements are expected but not yet quantified.
- The changes simplify code by removing lockless fastpaths and associated complexities.
- The updated sheaves use is planned for Linux 7.0, pending no last-minute issues.