Contiguous Memory Allocator (CMA)

Sadanand Warrier sadanandwarrier at gmail.com
Tue Dec 21 09:35:33 EST 2021


Hello
    Is CMA still supported as described in this document
https://lwn.net/Articles/396707/ ?
Or has it changed and there is a newer version which details how to
allocate a chunk of contiguous memory on bootup and then use it with a
loadable kernel module?
What I want to do is allocate a chunk of contiguous memory at boot time and
use it with a loadable driver.
It will be a vanilla Centos kernel and I wonder if they are compiled with
the CMA enabled.
When I check dmesg I see
 " 0K cma-reserved" so it still exists.

Thanks

S
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20211221/cc066148/attachment.html>


More information about the Kernelnewbies mailing list