Re: [RFC PATCH 1/2] swiotlb: Split up single swiotlb lock

From: Christoph Hellwig
Date: Thu Apr 28 2022 - 10:46:01 EST


On Thu, Apr 28, 2022 at 03:44:36PM +0100, Robin Murphy wrote:
> Rather than introduce this extra level of allocator complexity, how about
> just dividing up the initial SWIOTLB allocation into multiple io_tlb_mem
> instances?

Yeah. We're almost done removing all knowledge of swiotlb from drivers,
so the very last thing I want is an interface that allows a driver to
allocate a per-device buffer.