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 here: https://elixir.bootlin.com/linux/v5.4.70/source/drivers/mtd/nand/onenand/samsung.c#L644
Yet, in vmalloc_to_page
implementation it does not seem that it creates a contiguous allocation :
https://elixir.bootlin.com/linux/v4.5/source/mm/vmalloc.c#L234