NVDIMM Device and Persistent Memory development
 help / color / mirror / Atom feed
From: Christoph Hellwig <hch@infradead.org>
To: Usama Arif <usama.arif@bytedance.com>
Cc: Christoph Hellwig <hch@infradead.org>,
	dan.j.williams@intel.com, vishal.l.verma@intel.com,
	dave.jiang@intel.com, nvdimm@lists.linux.dev, linux-mm@kvack.org,
	linux-fsdevel@vger.kernel.org,
	Fam Zheng <fam.zheng@bytedance.com>,
	"liangma@liangbit.com" <liangma@liangbit.com>
Subject: Re: [External] Re: Conditions for FOLL_LONGTERM mapping in fsdax
Date: Mon, 27 Nov 2023 06:00:22 -0800	[thread overview]
Message-ID: <ZWSg9vw/nCzOaMLr@infradead.org> (raw)
In-Reply-To: <9867cf7b-29a1-4fc7-61b0-7212268f9d50@bytedance.com>

On Mon, Nov 27, 2023 at 11:52:15AM +0000, Usama Arif wrote:
> By recall do you mean put the LONGTERM pages back? If I removed the check in
> check_vma and allowed the mappings to happen in fsdax, I can see that the
> mappings unmap/unpin in vfio_iommu_type1_unmap_dma later on which eventually
> ends up calling put_pfn.

recall as in stop pinning them on notice from the page owner.

      reply	other threads:[~2023-11-27 14:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <172ab047-0dc7-1704-5f30-ec7cd3632e09@bytedance.com>
2023-11-06 18:15 ` Conditions for FOLL_LONGTERM mapping in fsdax Usama Arif
2023-11-20 15:49   ` Usama Arif
2023-11-21  4:46     ` Christoph Hellwig
2023-11-27 11:52       ` [External] " Usama Arif
2023-11-27 14:00         ` Christoph Hellwig [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=ZWSg9vw/nCzOaMLr@infradead.org \
    --to=hch@infradead.org \
    --cc=dan.j.williams@intel.com \
    --cc=dave.jiang@intel.com \
    --cc=fam.zheng@bytedance.com \
    --cc=liangma@liangbit.com \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=nvdimm@lists.linux.dev \
    --cc=usama.arif@bytedance.com \
    --cc=vishal.l.verma@intel.com \
    /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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).