On Fri, May 10, 2019 at 09:50:01AM -0700, Matthew Wilcox wrote: > kvmalloc() is the normal solution here. Usual reasons for not being > able to do that would be that you do DMA to the memory or that you need > to be able to free each of these objects individually. Note that you absolutely can do DMA to vmalloced buffers. It just is very painful due to the manual coherency management..