kmalloc Questions
8
Solved
I've googled around and found most people advocating the use of kmalloc, as you're guaranteed to get contiguous physical blocks of memory. However, it also seems as though kmalloc can fail if a con...
Tenderize asked 22/9, 2008 at 17:46
2
Solved
Quite by chance stumbled upon some code in kernel jungles and was a bit confused. There are two implementations of kzalloc(): in tools/virtio/linux/kernel.h and the main one in linux/slab.h. Obviou...
Maroon asked 17/1, 2020 at 11:55
1
Solved
Suppose we want to maintain a pool of memory in a device driver or module. How can that pool be created and be available to multiple processes lets say 4 processes, accessing this driver/module.
...
Ecuador asked 27/4, 2015 at 12:18
2
Solved
I'm writing a device driver that, among other things, allocates a block of memory with kmalloc. This memory is freed when the user program closes the file. In one of my experiments, the user progra...
Unwieldy asked 25/7, 2012 at 19:42
2
What is the meaning of GFP flags in kmalloc? For instance GFP_KERNEL, GFP_ATOMIC?
Gametophyte asked 27/6, 2012 at 9:51
1
© 2022 - 2024 — McMap. All rights reserved.