All of lore.kernel.org
 help / color / mirror / Atom feed
From: "David Hildenbrand (Arm)" <david@kernel.org>
To: "Gupta, Pankaj" <pankaj.gupta@amd.com>,
	Andrew Morton <akpm@linux-foundation.org>,
	Mike Rapoport <rppt@kernel.org>, Peter Xu <peterx@redhat.com>,
	Muhammad Usama Anjum <usama.anjum@arm.com>
Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org,
	Chris Mason <mason@kernel.org>, Jingyi Sun <1045704958@qq.com>
Subject: Re: [PATCH] mm/userfaultfd: reject DAX mappings
Date: Thu, 19 Nov 2026 13:23:40 +0100	[thread overview]
Message-ID: <1a6ad5fb-42dc-4b0d-9745-0d870c1fa663@kernel.org> (raw)
In-Reply-To: <f56b0cc5-7529-4481-9f17-f940283d62c7@amd.com>

On 11/19/26 13:11, Gupta, Pankaj wrote:
> 
>> UFFD_FEATURE_WP_ASYNC made DAX mappings eligible for userfaultfd
>> write-protection, but the DAX fault paths have never fully supported it.
>>
>> DAX faults use vmf_insert_mixed() and vmf_insert_mixed_mkwrite(), which
> 
> Should we use vmf_insert_page_mkwrite instead?

vmf_insert_mixed_mkwrite() is getting removed concurrently, so I think it
doesn't really matter in the end in this commit.

Thanks for the review!

-- 
Cheers,

David


      reply	other threads:[~2026-11-19 12:23 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-18 10:03 [PATCH] mm/userfaultfd: reject DAX mappings David Hildenbrand (Arm)
2026-11-18 14:12 ` Gregory Price (Meta)
2026-11-18 14:58 ` Mike Rapoport
2026-11-18 22:14 ` Jose A. Perez de Azpillaga
2026-11-19 12:11 ` Gupta, Pankaj
2026-11-19 12:23   ` 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=1a6ad5fb-42dc-4b0d-9745-0d870c1fa663@kernel.org \
    --to=david@kernel.org \
    --cc=1045704958@qq.com \
    --cc=akpm@linux-foundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=mason@kernel.org \
    --cc=pankaj.gupta@amd.com \
    --cc=peterx@redhat.com \
    --cc=rppt@kernel.org \
    --cc=usama.anjum@arm.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 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.