From: David Hildenbrand <david@redhat.com>
To: linux-kernel@vger.kernel.org
Cc: linux-mm@kvack.org, David Hildenbrand <david@redhat.com>,
Andrew Morton <akpm@linux-foundation.org>,
Peter Xu <peterx@redhat.com>,
Muhammad Usama Anjum <usama.anjum@collabora.com>
Subject: [PATCH v2 0/2] mm/userfaultfd: fix and cleanup for migration entries with uffd-wp
Date: Wed, 5 Apr 2023 18:02:34 +0200 [thread overview]
Message-ID: <20230405160236.587705-1-david@redhat.com> (raw)
One fix and one cleanup.
uffd-wp migration entry handling for PTE/PMDs should now be fairly similar
code-wise.
v1 -> v2:
- Add RB's
- "mm/userfaultfd: fix uffd-wp handling for THP migration entries"
-> pmd_swp_uffd_wp(*pvmw->pmd) -> pmd_uffd_wp(pmdval)
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Peter Xu <peterx@redhat.com>
Cc: Muhammad Usama Anjum <usama.anjum@collabora.com>
David Hildenbrand (2):
mm/userfaultfd: fix uffd-wp handling for THP migration entries
mm/userfaultfd: don't consider uffd-wp bit of writable migration
entries
mm/huge_memory.c | 16 ++++++++++++----
mm/mprotect.c | 2 --
2 files changed, 12 insertions(+), 6 deletions(-)
--
2.39.2
next reply other threads:[~2023-04-05 16:02 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-05 16:02 David Hildenbrand [this message]
2023-04-05 16:02 ` [PATCH v2 1/2] mm/userfaultfd: fix uffd-wp handling for THP migration entries David Hildenbrand
2023-04-05 16:02 ` [PATCH v2 2/2] mm/userfaultfd: don't consider uffd-wp bit of writable " David Hildenbrand
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=20230405160236.587705-1-david@redhat.com \
--to=david@redhat.com \
--cc=akpm@linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=peterx@redhat.com \
--cc=usama.anjum@collabora.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.