Name

alloc_vm_area — allocate a range of kernel address space

Synopsis

struct vm_struct * alloc_vm_area (size_t size);
 

Arguments

size

size of the area

Returns

NULL on failure, vm_struct on success

This function reserves a range of kernel address space, and allocates pagetables to map that range. No actual mappings are created. If the kernel address space is not shared between processes, it syncs the pagetable across all processes.