please add a function like kvpalloc (kernel virtual page alloc) which allows to allocate contiguous virtual pages, but does not guarantee physical pages to be contiguous. and maps that result to the requested virtual address
then implement kmalloc by running a slab allocator on pages acquired by kvpalloc
Menix Version
master
Feature type
Change existing functionality
Architecture
N/A
Affected Area
Main
Proposal
please add a function like kvpalloc (kernel virtual page alloc) which allows to allocate contiguous virtual pages, but does not guarantee physical pages to be contiguous. and maps that result to the requested virtual address
then implement kmalloc by running a slab allocator on pages acquired by kvpalloc