Re: [patch] dma-pool: warn when coherent pool is depleted

2020-06-29 Thread Christoph Hellwig
On Sat, Jun 27, 2020 at 09:25:21PM -0700, David Rientjes wrote: > Thanks Guenter. Christoph, does it make sense to apply this patch since > there may not be an artifact left behind in the kernel log on allocation > failure by the caller? Sorry, this fell through the cracks. I've added it to

Re: [patch] dma-pool: warn when coherent pool is depleted

2020-06-27 Thread David Rientjes via iommu
On Sun, 21 Jun 2020, Guenter Roeck wrote: > > When a DMA coherent pool is depleted, allocation failures may or may not > > get reported in the kernel log depending on the allocator. > > > > The admin does have a workaround, however, by using coherent_pool= on the > > kernel command line. > > >

Re: [patch] dma-pool: warn when coherent pool is depleted

2020-06-21 Thread Guenter Roeck
On Sun, Jun 21, 2020 at 01:43:02PM -0700, David Rientjes wrote: > When a DMA coherent pool is depleted, allocation failures may or may not > get reported in the kernel log depending on the allocator. > > The admin does have a workaround, however, by using coherent_pool= on the > kernel command

[patch] dma-pool: warn when coherent pool is depleted

2020-06-21 Thread David Rientjes via iommu
When a DMA coherent pool is depleted, allocation failures may or may not get reported in the kernel log depending on the allocator. The admin does have a workaround, however, by using coherent_pool= on the kernel command line. Provide some guidance on the failure and a recommended minimum size