vmalloc_to_page is contiguous ?
Ranran
ranshalit at gmail.com
Mon Mar 18 06:55:17 EDT 2019
Hello,
Does vmalloc_to_page() returns contiguous physical memory ?
I ask becuase I see that its return value is used for DMA and DMA uses
contiguous memory.
see here:
https://elixir.bootlin.com/linux/latest/source/drivers/mtd/nand/onenand/samsung.c#L657
Yet, in vmalloc_to_page implementation:
https://elixir.bootlin.com/linux/v4.5/source/mm/vmalloc.c#L234
it does not seem that it creates a contiguous allocation.
Thank you,
ranran
More information about the Kernelnewbies
mailing list