On 6/12/23 2:33?PM, Bart Van Assche wrote: > Hi Jens, > > We want to improve Android performance by increasing the page size > from 4 KiB to 16 KiB. However, some of the storage controllers we care > about do not support DMA segments larger than 4 KiB. Hence the need > support for DMA segments that are smaller than the size of one virtual > memory page. This patch series implements that support. Please > consider this patch series for the next merge window. I'm usually a fan of putting code in the core so we don't have to in drivers, that's how most of the block layer is designed. But this seems niche enough that perhaps it's worth considering just remapping these in the driver? It's peppering changes all over delicate parts of the core for cases that 99.9% don't need to worry about or should worry about. I will say that I do think the patches do look better than they did in earlier versions, however. Maybe we've already discussed this before, but let's please have the discussion again. Because I'd really love to avoid this code, if at all possible. -- Jens Axboe