mm-api.rst 1.85 KB

Memory Management APIs

User Space Memory Access

Memory Allocation Controls

Functions which need to allocate memory often use GFP flags to express how that memory should be allocated. The GFP acronym stands for "get free pages", the underlying memory allocation function. Not every GFP flag is allowed to every function which may allocate memory. Most users will want to use a plain GFP_KERNEL.

The Slab Cache

Virtually Contiguous Mappings

File Mapping and Page Cache

Memory pools

DMA pools

More Memory Management Functions