Re: [RFC 0/7] Introduce swiotlb throttling
From: Bart Van Assche
Date: Thu Aug 22 2024 - 15:32:01 EST
On 8/22/24 11:37 AM, mhkelley58@xxxxxxxxx wrote:
Linux device drivers may make DMA map/unmap calls in contexts that
cannot block, such as in an interrupt handler.
Although I really appreciate your work, what alternatives have been
considered? How many drivers perform DMA mapping from atomic context?
Would it be feasible to modify these drivers such that DMA mapping
always happens in a context in which sleeping is allowed?
Thanks,
Bart.