Home
last modified time | relevance | path

Searched refs:KernelAllocator (Results 1 – 3 of 3) sorted by relevance

/DragonOS-0.1.8/kernel/src/mm/allocator/
Dkernel_allocator.rs22 pub struct KernelAllocator; struct
24 impl KernelAllocator { impl
57 impl LocalAlloc for KernelAllocator { implementation
82 unsafe impl GlobalAlloc for KernelAllocator { implementation
/DragonOS-0.1.8/kernel/src/
Dlib.rs57 use crate::mm::allocator::kernel_allocator::KernelAllocator;
68 pub static KERNEL_ALLOCATOR: KernelAllocator = KernelAllocator;
/DragonOS-0.1.8/docs/kernel/memory_management/
Dallocate-memory.md7   在默认情况下,KernelAllocator被绑定为全局内存分配器,它会根据请求分配的内存大小,自动选择使用slab还是伙伴分配器。因此,在内核中,使用Rust原生的