From: Eric Dumazet <hidden> Date: 2014-10-23 19:22:38
On Thu, 2014-10-23 at 19:17 +0300, Crestez Dan Leonard wrote:
Doesn't virt_to_page also assume that the memory is not from vmalloc?
Making this portable would require checking if is_vmalloc_addr and doing
vmalloc_to_page instead. Easier to just kmalloc instead.