Skip to content

jackodirks/cma_malloc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a simple kernel module and a library to allocate continuous memory from the Linux kernel.
Make sure your kernel is compiled with CMA and DMA enabled. To use this module, the CMA memory needs to be in the address space addressable with 32 bits.
On AMD64 systems, this might not be done per default. Use the following kernel parameter to fix this:

cma=256M@0G-4G

256 means 256 MiB can can, offcourse, be changed to something else.

About

A Linux kernel module which can be used to allocate memory from the Contiguous Memory Allocator

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published