Linux 7.5 is in line to get a slab_tiny=1 boot option for machines with extremely limited RAM. As Phoronix reports, Vlastimil Babka of SUSE is converting the existing CONFIG_SLUB_TINY build option into a default-setter, so the tiny slab behavior can be chosen at boot instead of being locked in at compile time.
That matters because a hard Kconfig option has fought with other build settings, and Linus had argued for removing it. There is also a practical case for keeping the full, scalable slab implementation in the same vmlinux and turning the tiny path on later. Babka’s cover letter points at kdump kernels, which share the production kernel image but want a smaller memory footprint reserved up front and can live with less SMP scalability. Booting with slab_tiny=1 trims the allocator’s footprint at that cost. The code is in slab.git’s for-next branch and is expected to be submitted for the 7.5 merge window at the end of December. The old config option is deprecated and would only set the default.
My take
This is one of those quiet kernel changes that will matter most on small boxes and in crash-dump kernels. Being able to flip tiny slab at boot, instead of building a special kernel just for that, is the right kind of flexibility. It is queued for 7.5, not in a released kernel yet, so I will treat it as incoming until the merge window actually lands it.
God Bless, and Happy hacking!