Huawei Continues Working On Protectable Memory Support For The Linux Kernel
Written by Michael Larabel in Linux Kernel on 26 June 2017 at 03:35 PM EDT. Add A Comment
Igor Stoppa of Huawei continues working on a new kernel feature to provide read-only protection for dynamic data.

The patch work allows protecting memory that was dynamically allocated and to make it permanently read-only -- when a memory pool defined by this protectable memory support is made read-only, it cannot be made read-write again, only destroyed. MMUs can provide read-only protection currently for Linux systems, but not really geared for dynamic memory allocation. This protectable memory support offers a new "pmalloc" allocator that is short for protectable memory allocator.

An example user of pmalloc with this patch series is for protecting LSM security hooks whether they can be writable after boot, rather than making that just a kernel compile time option, it can then be controlled via a kernel boot-time argument.

This latest round of patches for protectable memory support can be found via the kernel mailing list.
Related News
About The Author
Author picture

Michael Larabel is the principal author of and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and automated benchmarking software. He can be followed via Twitter or contacted via

Popular News This Week