SLUB Updates Submitted Ahead Of Linux 6.10 Merge Window
- Reference: 0001463323
- News link: https://www.phoronix.com/news/Linux-6.10-SLAB-SLUB-Changes
- Source link:
The SLUB allocator code in Linux 6.10 has a previously reported on change to [3]reduce memory consumption in extreme scenarios . This change to prevent allocating many slabs when a NUMA node is full is all ready to go for Linux 6.10.
Back during the Linux 6.9 cycle [4]the SLAB allocator was removed after previously being deprecated. In turn SLUB is the preferred allocator moving forward for all users. With Linux 6.10 there is some additional cleaning work with the actual SLAB allocator now being gone.
Also notable with this new material for Linux 6.10 is a fix to prevent stalls when reading from /proc/slabinfo . For workloads that have alloc/free patterns with many partially used slabs, reading from /proc/slabinfo could cause some undesired stalls that are now addressed for Linux 6.10.
The [5]pull request also has several fixes and other improvements to the SLUB memory management code.
[1] https://www.phoronix.com/search/Linux+6.9
[2] https://www.phoronix.com/search/Linux+6.10
[3] https://www.phoronix.com/news/Linux-6.10-SLUB-Optimization
[4] https://www.phoronix.com/news/Linux-6.8-SLAB-SLUB-Changes
[5] https://lore.kernel.org/lkml/587f5e6b-d543-4028-85c8-93cc8f581d02@suse.cz/T/#u
phoronix