Re: [PATCH] iov_iter: Fix direct I/O across compatible device pgmaps
From: Christoph Hellwig
Date: Mon Nov 30 2026 - 08:17:16 EST
On Thu, Nov 26, 2026 at 02:12:29PM +0100, David Hildenbrand (Arm) wrote:
> Can you convert this to proper kernel doc while at it?
>
> Also this should all be working on folios instead of pages. But that will need a
> zone_device_folios_have_same_pgmap() so we can defer it, not suitable for this fix.
I don't think the magic fake pages for ZONE_DEVICE mappings are folios
by any reasonable interpretation. In the long run the bio_vec needs
to store physical addresses instead, but that's a lot of work, and
so far no one has volunteered to actually do this.