All of lore.kernel.org
 help / color / mirror / Atom feed
From: Christoph Hellwig <hch@lst.de>
To: "David Hildenbrand (Arm)" <david@kernel.org>
Cc: Naman Jain <namjain@linux.microsoft.com>,
	Christoph Hellwig <hch@lst.de>, 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:16:58 +0100	[thread overview]
Message-ID: <20261130131657.GC29203@lst.de> (raw)
In-Reply-To: <5cc60faa-002c-4c96-97e3-46d3002718c9@kernel.org>

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.


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

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-26  5:34 [PATCH] iov_iter: Fix direct I/O across compatible device pgmaps 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-12-01  4:50           ` Naman Jain
2026-11-30 13:16   ` Christoph Hellwig [this message]
2026-11-30 13:31     ` David Hildenbrand (Arm)

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=20261130131657.GC29203@lst.de \
    --to=hch@lst.de \
    --cc=akpm@linux-foundation.org \
    --cc=axboe@kernel.dk \
    --cc=david@kernel.org \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.