Allocation
- small chunk:
kmalloc
、kmem_cache_alloc
- large virtually contiguous areas:
vmalloc
- directly request pages:
alloc_pages
- specialized allocators:
zs_malloc
…
Get Free Page flags(GFP)
通用的模式:
控制
kmalloc
、kmem_cache_alloc
vmalloc
alloc_pages
zs_malloc
…通用的模式:
控制