mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "David Hildenbrand (Arm)" <david@kernel.org>
To: Christoph Hellwig <hch@lst.de>
Cc: Naman Jain <namjain@linux.microsoft.com>,
	Jens Axboe <axboe@kernel.dk>,
	Andrew Morton <akpm@linux-foundation.org>,
	Alexander Viro <viro@zeniv.linux.org.uk>,
	Oscar Salvador <osalvador@suse.de>,
	Logan Gunthorpe <logang@deltatee.com>,
	Leon Romanovsky <leon@kernel.org>,
	Keith Busch <kbusch@kernel.org>,
	linux-block@vger.kernel.org, linux-mm@kvack.org,
	linux-cxl@vger.kernel.org, linux-kernel@vger.kernel.org,
	linux-fsdevel@vger.kernel.org, stable@vger.kernel.org
Subject: Re: [PATCH] iov_iter: Fix direct I/O across compatible device pgmaps
Date: Mon, 30 Nov 2026 14:31:04 +0100	[thread overview]
Message-ID: <45c9fbdb-0eb4-46c9-8004-bdd2f8d5cb96@kernel.org> (raw)
In-Reply-To: <20261130131657.GC29203@lst.de>

On 11/30/26 14:16, Christoph Hellwig wrote:
> 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.   

We discussed that in the past (and I even raised it in some shared LSF/MM
session), and I've been told that ZONE_DEVICE will always be folio based.

> 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.

Ack.

-- 
Cheers,

David

      reply	other threads:[~2026-11-30 13:31 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-26  5:34 Naman Jain
2026-11-26 13:12 ` David Hildenbrand (Arm)
2026-11-27  4:05   ` Naman Jain
2026-11-29 10:32     ` David Hildenbrand (Arm)
2026-11-30  4:44       ` Naman Jain
2026-11-30 10:57         ` David Hildenbrand (Arm)
2026-11-30 13:18       ` Christoph Hellwig
2026-11-30 13:27         ` David Hildenbrand (Arm)
2026-11-30 13:16   ` Christoph Hellwig
2026-11-30 13:31     ` David Hildenbrand (Arm) [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=45c9fbdb-0eb4-46c9-8004-bdd2f8d5cb96@kernel.org \
    --to=david@kernel.org \
    --cc=akpm@linux-foundation.org \
    --cc=axboe@kernel.dk \
    --cc=hch@lst.de \
    --cc=kbusch@kernel.org \
    --cc=leon@kernel.org \
    --cc=linux-block@vger.kernel.org \
    --cc=linux-cxl@vger.kernel.org \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=logang@deltatee.com \
    --cc=namjain@linux.microsoft.com \
    --cc=osalvador@suse.de \
    --cc=stable@vger.kernel.org \
    --cc=viro@zeniv.linux.org.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®