A "request for comments" patch series was posted for a new dynamic kernel stacks feature for Linux. Early testing has shown potential for significant memory savings. Google has implemented support for dynamic kernel stacks following a proposal from last year. The default stack size for the Linux kernel has been 16K for the past decade, but dynamic kernel stacks allow for scaling from 4K to THREAD_SIZE limits, potentially saving 70~75% of kernel stack memory.
















