Re: Bulk kmalloc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, May 10, 2019 at 10:11:10AM -0700, Christoph Hellwig wrote:
> 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..

... and we don't have proper APIs for it.  The last time we discussed
it was January, I think.

https://lore.kernel.org/patchwork/patch/1033921/

I haven't made any effort to try to come up with decent APIs for this.




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux