Kernel KVM virtualization development
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Karthikeyan KS" <karthiproffesional@gmail.com>
Cc: virtualization@lists.linux.dev,
	"Eugenio Perez" <eperezma@redhat.com>,
	kvm@vger.kernel.org, "Michael S. Tsirkin" <mst@redhat.com>
Subject: Re: [PATCH] vhost-scsi: use FOLL_PIN for DMA page pinning
Date: Wed, 07 Oct 2026 16:45:11 +0000	[thread overview]
Message-ID: <sashiko-outbox-163204@kernel.org> (raw)
In-Reply-To: <20261007163716.707102-1-karthiproffesional@gmail.com>

> vhost_scsi_map_to_sgl() pins guest buffer pages via
> iov_iter_get_pages2() (FOLL_GET), which does not prevent
> copy-on-write or page migration while DMA is in flight. Switch to
> iov_iter_extract_pages() (FOLL_PIN), which does.
> 
> Cc: Jason Wang <jasowangio@gmail.com>
> Cc: Mike Christie <michael.christie@oracle.com>
> Cc: John Hubbard <jhubbard@nvidia.com>
> Cc: Michael S. Tsirkin <mst@redhat.com>
> Cc: virtualization@lists.linux.dev
> Signed-off-by: Karthikeyan KS <karthiproffesional@gmail.com>

Sashiko has reviewed this patch and found no issues. It looks great!

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261007163716.707102-1-karthiproffesional@gmail.com?part=1


      reply	other threads:[~2026-10-07 16:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-07 16:37 [PATCH] vhost-scsi: use FOLL_PIN for DMA page pinning Karthikeyan KS
2026-10-07 16:45 ` sashiko-bot [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=sashiko-outbox-163204@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=eperezma@redhat.com \
    --cc=karthiproffesional@gmail.com \
    --cc=kvm@vger.kernel.org \
    --cc=mst@redhat.com \
    --cc=sashiko-reviews@lists.linux.dev \
    --cc=virtualization@lists.linux.dev \
    /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