Вход на сайт

Просмотр новости

Найдите то, что Вас интересует

Proposal To Set ARM64 Kernel Stack Size At Boot Time To Reduce Memory Consumption

Дата публикации: 30-09-2026 10:27:00

A proposal was posted this week to the Linux kernel mailing list by a Google engineer to make it easier for ARM64 Linux to adjust the kernel stack size. The motivation for doing so to configure the kernel stack size during boot time is on reducing system memory consumption...

Основное содержимое страницы с новостью.

LINUX KERNEL

A proposal was posted this week to the Linux kernel mailing list by a Google engineer to make it easier for ARM64 Linux to adjust the kernel stack size. The motivation for doing so to configure the kernel stack size during boot time is on reducing system memory consumption.

Google's Mostafa Saleh posted a request for comments (RFC) to the Linux kernel mailing list with a set of 15 patches that would allow optionally setting the kernel stack size from the command line. This would make it easy to adjust the kernel stack size without having to rebuild the kernel.

RAM phone

By more easily adjusting the kernel stack size they can avoid memory waste, especially on Android and other environments. The proposal notes:

"On some systems (specifically, Android), this provides a mechanism to reduce the kernel memory consumption, as the default kernel stack size of 16kB (with 4kB pages) can result in ~100MB of allocated memory, despite the fact that most threads do not come close to exhausting their allocation."

As part of this work is also allowing a 12kB stack size too if needing more than 8kB but less than the 16kB default. Another idea to potentially be pursued is allowing per-task stack sizes for helping to reduce memory usage depending upon the task.

With these patches, the stack size could be adjusted via the kernel_stack_pages= option at boot time. For now at least it's an ARM64 only proposal.

The topic will be discussed further next week at the Linux Plumbers Conference. Those wishing to learn more can see this RFC patch series.

Схожие новости

#Наименование новостиТональностьИнформативностьДата публикации
1Intel Delivers A Significant Memory Hotplugging Performance Optimization For Linux04.5227-09-2026
2Linux 7.4 To Support The NPU On AMD Ryzen AI Max 400 Series "Gorgon Halo"09.4830-09-2026
3MM Change Slated For Linux 7.4 Yields +22904539.81% In One Metric, More Modest Wins In Others014.626-09-2026
4Large Folios Able To Deliver Big Performance Gains For FUSE With Linux 7.4014.2829-09-2026
5AMD Ryzen Zen 6 CPU Power Values Being Further Tuned For Linux011.8129-09-2026
6Linux Kernel's LZ4 Compression Code Being Resynced For Better Performance & Cleanliness09.3127-09-2026
7NVIDIA Developing "Display Config Server" To Improve Linux/Wayland On Display Walls07.3928-09-2026
8Archinstall 4.5 For Arch Linux Brings AArch64 Improvements, RT Kernel Options013.9130-09-2026
9The Least Annoying of All Evils037.1526-09-2026
10BPF-Based Display Panel Drivers Being Explored For Linux08.629-09-2026

Классификация: . Схожих патентов: 0. Схожих новостей: 10. Тональность: 0. Информативность: 5.8. Источник: www.phoronix.com.