Re: [PATCH 1/1] swiotlb: dump used and total slots when swiotlb buffer is full

2019-04-11 Thread Konrad Rzeszutek Wilk
On Fri, Apr 05, 2019 at 09:15:25AM +0800, Dongli Zhang wrote: > So far the kernel only prints the requested size if swiotlb buffer if full. > It is not possible to know whether it is simply an out of buffer, or it is > because swiotlb cannot allocate buffer with the requested size due to >

[PATCH 1/1] swiotlb: dump used and total slots when swiotlb buffer is full

2019-04-04 Thread Dongli Zhang
So far the kernel only prints the requested size if swiotlb buffer if full. It is not possible to know whether it is simply an out of buffer, or it is because swiotlb cannot allocate buffer with the requested size due to fragmentation. As 'io_tlb_used' is available since commit 71602fe6d4e9