惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Microsoft Security Blog
Microsoft Security Blog
Apple Machine Learning Research
Apple Machine Learning Research
美团技术团队
WordPress大学
WordPress大学
酷 壳 – CoolShell
酷 壳 – CoolShell
G
Google Developers Blog
阮一峰的网络日志
阮一峰的网络日志
The Cloudflare Blog
J
Java Code Geeks
Martin Fowler
Martin Fowler
M
MIT News - Artificial intelligence
IT之家
IT之家
博客园 - 三生石上(FineUI控件)
月光博客
月光博客
Google DeepMind News
Google DeepMind News
小众软件
小众软件
V
V2EX
Hugging Face - Blog
Hugging Face - Blog
爱范儿
爱范儿
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Jina AI
Jina AI
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
腾讯CDC
B
Blog

Phoronix

KDE Linux Prunes Its Insecure & Unused Software Linux 7.1-rc6 To Support The ASUS ROG RAIKIRI II & Nova 2 Lite Controllers Linux Might Finally Disable The Microsoft RNDIS Protocol Drivers In 2026 Wine-Staging 11.10 Fixes 14 Year Old Bug, Also Fixes Issue Of Some Games Being Too Dark Servo 0.2 Released With Revamped Android Browser UI Zrythm 2.0 Alpha Released For Rewriting The Digital Audio Workstation In C++ & Qt/QML Linux 7.1-rc6 To Hide The Documentation On "clearcpuid" Feature AV2 v1.0 Specification Released For Next-Gen Video Coding Various USB Quirks Merged Ahead Of Linux 7.1-rc6 Rust Coreutils 0.9 Released With Additional Security Hardening, Zero-Copy I/O NixOS 26.05 Released With 20,442 New Packages, Stage 1 Now Based On systemd By Default AMD Submits More Graphics Driver Changes For Linux 7.2 AMD Expands The Range Of Zen 6 CPUs Detected By The Linux Kernel G7 Agrees On Shared Language Around Open-Source AI, Open Weights AI GNOME Circle Takes Stand Against AI Slop, Resources App Makes It Into GNOME Incubator Plasma 6.6, 6.7 & 6.8 See Plenty Of Bug Fixing This Week Genode OS 26.05 Released, Finishes Moving From GitHub To Codeberg SteamOS 3.8.6 Beta Released With Initial Native Support For AMD HDMI VRR Ubuntu 26.10 Snapshot 1 Released For Testing Wine 11.10 Released With VKD3D 2.0, Improved VBScript Compatibility Fwupd 2.1.4 Brings Many Fixes For Bugs Spotted By Anthrophic's Mythos, Firmware Update Support For Intel Arc Pro B65/B70 AMD ROCm 7.2.4 Released With Performance & Stability Fixes CachyOS Delivers Lead Over Arch Linux, Pop!_OS & Ubuntu On System76 Thelio Major Linux Networking Still Seeing "Significantly Bigger" Pull Requests Due To AI Btrfs Change Coming For Linux 7.2 Yields Very Healthy Performance Gain Intel To Support DRM Background Color Property With Linux 7.2 Fedora 45 Considering Use Of PURL Metadata For Uniquely Identifying Software Packages Linux 7.2 To Bring Graphics Driver Fix For Old Integrated Graphics On Intel Sandy Bridge Radeon Software For Linux 26.12 Brings Ubuntu 26.04 Support Intel Sends Out Revised Linux Patches For Directed Package Thermal Interrupts
Reserved THP Feature Proposed For Linux To Combine The Be...
Written by Michael Larabel in Linux Kernel on 27 June 2026 at 12 · 2026-06-28 · via Phoronix

LINUX KERNEL

Linux kernel developer and Bytedance engineer Qi Zheng sent out a request for comments (RFC) patch series on a new feature called Reserved THP to combine the best of HugeTLB and THP kernel functionality.

Bytedance has been working on Reserved THP as a potential stepping stone or goal of unifying HugeTLB and Transparent Huge Page (THP) support within the Linux kernel for kernel huge pages. HugeTLB brings nice elements like reservations and guaranteed allocation within reserved pools, but not supporting swap. Meanwhile, THP doesn't support reservations and allocations aren't guaranteed, but is more tightly integrated with the core memory management code and can handle swap.

Qi Zheng explained of their experience in coming up with the idea of Reserved THP:

"In our internal scenario, a user process needs to reserve double the amount of Hugetlb memory due to hot-upgrade requirements. For example, if the process needs 16GB of Hugetlb, an additional 16GB is required during the hot-upgrade to satisfy memory allocations. After the upgrade, the old process exits and releases the 16GB of HugeTLB. Therefore, in most cases, the extra 16GB of HugeTLB is wasted.

A straightforward idea is to use the Hugetlb CMA feature, reserving a total of 32GB of hugetlb_cma. During normal operation, 16GB is consumed, and the remaining 16GB can be used by other processes. During hot-upgrade, we could try to migrate the memory used by other processes to allocate the required extra 16GB of Hugetlb. This might work, but it still requires reserving 32GB of memory.

We also found that during the hot upgrade, about 10GB of the old process's hugetlb is actually cold memory, which could theoretically be reclaimed. In extreme cases, we could reserve only 22GB of memory and reclaim the remaining 10GB during the hot upgrade. But unfortunately, hugetlb currently does not support swap, and supporting it seems quite difficult.

Therefore, we are wondering if we can introduce "reserved THP", which is THP that can be reserved. It can be consumed through methods like madvise(), while normal memory allocation cannot consume it. This can achieve an effect similar to hugetlb. And because it is THP, it can relatively easily support swap features, which perfectly solves the above problem."

In prior years there have been kernel discussions over unifying THP and HugeTLB albeit still separate to date.

MRDIMM memory

Those wanting to learn more about this Reserved THP proposal can do so via this LKML patch series.