pub fn allocate_pages_by_bytes(
    num_bytes: usize
) -> Option<AllocatedPages<Page4K>>
Expand description

Allocates pages with no constraints on the starting virtual address, with a size given by the number of bytes.

This function still allocates whole pages by rounding up the number of bytes. See allocate_pages_deferred() for more details.