Questions tagged [vmalloc]
34 questions
0
votes
0 answers
Does vmalloc_to_page returns contiguous physical memory?
Does vmalloc_to_page returns contiguous physical memory ?
I ask because I see that its return value is used for DMA and DMA uses
contiguous memory.
See vmalloc_to_page usage for DMA…

ransh
- 1,589
- 4
- 30
- 56
0
votes
0 answers
When do we use vmalloc and kmalloc?
I know that kmalloc allocates contiguous memory in physical memory as well as virtual memory, vmalloc allocates contiguous memory in virtual memory but it doesn't guarantee that memory allocated in physical memory will be contiguous.
Therefore, it…

nguyennd
- 55
- 1
- 11
0
votes
0 answers
Allocating Executable Page in Linux Kernel Module
I know there is a relevant post about this in the following link but I am missing the header file asm/pgtype_types.h for some reason in my kernel (My kernel version is 4.9.13-v8+)
How to allocate an executable page in a Linux kernel module?
Do you…

XII
- 420
- 4
- 16
0
votes
1 answer
kmallc and vmalloc return logical address?
Although there are many threads already running on kmalloc and vmalloc but I did not get my exact answer so I am putting it here.
As far I know,
kmalloc : It is kernel API which allocates physically as well virtually contiguous memory.
vmalloc : It…

Nishith Goswami
- 353
- 5
- 13