Allocate virtually contiguous memory
void * vmalloc(unsigned long size);
size
allocation size Allocate enough pages to cover size from the page level allocator and map them into contiguous kernel virtual space.
For tight control over page level allocator and protection flags use __vmalloc instead.