Get the latest tech news
Linux 6.12 Adds A Kernel Stack Usage Histogram To Help With Optimizations
Merged as part of the memory management 'MM' changes for the Linux 6.12 kernel is a kernel stack usage histogram to help developers in better optimizing the kernel stack sizes and minimizing memory waste.
On Linux 6.12+ with a grep kstack /proc/vmstat there is a break down of the kernel stack usage in power-of-two buckets. For hyperscalers and others with vast deployments of Linux servers, small optimizations to memory use can make a profound impact. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software.
Or read this on Phoronix