From: Peter Xu <peterx@redhat.com>
To: Andrew Morton <akpm@linux-foundation.org>,
linux-mm@kvack.org, linux-kernel@vger.kernel.org
Cc: peterx@redhat.com, Andrea Arcangeli <aarcange@redhat.com>,
Liam Howlett <liam.howlett@oracle.com>,
Hugh Dickins <hughd@google.com>,
Mike Rapoport <rppt@linux.vnet.ibm.com>,
Yang Shi <shy828301@gmail.com>,
David Hildenbrand <david@redhat.com>,
"Kirill A . Shutemov" <kirill@shutemov.name>,
Jerome Glisse <jglisse@redhat.com>,
Alistair Popple <apopple@nvidia.com>,
Miaohe Lin <linmiaohe@huawei.com>,
Matthew Wilcox <willy@infradead.org>
Subject: [PATCH v4 0/4] mm: A few cleanup patches around zap, shmem and uffd
Date: Wed, 15 Sep 2021 14:14:52 -0400 [thread overview]
Message-ID: <20210915181456.10739-1-peterx@redhat.com> (raw)
[Based on v5.14-rc1]
Hi, Andrew,
I dropped patch 5 and will do it later when it justifies itself better. Each
patch of this series now contains at least 1 R-b, would you consider merge it?
Thanks,
v4:
- Patch "mm: Drop first_index/last_index in zap_details"
- Put first_index and last_index into two lines [Liam]
- Pick up r-bs
- Drop patch 5 for future
v3:
- Patch "mm: Add zap_skip_check_mapping() helper"
- In zap_skip_check_mapping() check zap_mapping first [Alistair]
- Patch "mm: Add ZAP_FLAG_SKIP_SWAP and zap_flags":
- Fix English errors in commit message [David]
- Drop paragraph mentioning commit 22061a1ffabd in commit msg
- Set ZAP_FLAG_SKIP_SWAP for unmap_mapping_page() too
- Pick up r-bs
v2:
- Patch "mm: Clear vmf->pte after pte_unmap_same() returns"
- Remove one comment [David]
- Collect r-b for patch 2/3
- Rewrite the last two patches to drop ZAP_FLAG_CHECK_MAPPING, dropping
Alistair's r-b on patch 5 because it changed [David, Matthew]
===== v1 cover letter =====
I picked up these patches from uffd-wp v5 series here:
https://lore.kernel.org/lkml/20210715201422.211004-1-peterx@redhat.com/
IMHO all of them are very nice cleanups to existing code already, they're all
small and self-contained. They'll be needed by uffd-wp coming series. I would
appreciate if they can be accepted earlier, so as to not carry them over always
with the uffd-wp series.
I removed some CC from the uffd-wp v5 series to reduce the noise, and added a
few more into it.
Reviews are greatly welcomed, thanks.
Peter Xu (4):
mm/shmem: Unconditionally set pte dirty in mfill_atomic_install_pte
mm: Clear vmf->pte after pte_unmap_same() returns
mm: Drop first_index/last_index in zap_details
mm: Add zap_skip_check_mapping() helper
include/linux/mm.h | 18 ++++++++++--
mm/memory.c | 72 +++++++++++++++++++---------------------------
mm/shmem.c | 1 -
mm/userfaultfd.c | 3 +-
4 files changed, 46 insertions(+), 48 deletions(-)
--
2.31.1
next reply other threads:[~2021-09-15 18:15 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-15 18:14 Peter Xu [this message]
2021-09-15 18:14 ` [PATCH v4 1/4] mm/shmem: Unconditionally set pte dirty in mfill_atomic_install_pte Peter Xu
2021-09-24 3:56 ` Hugh Dickins
2021-09-27 21:21 ` Peter Xu
2021-09-28 19:28 ` Hugh Dickins
2021-09-28 21:37 ` Peter Xu
2021-11-04 21:34 ` Andrew Morton
2021-11-05 1:01 ` Peter Xu
2021-09-15 18:15 ` [PATCH v4 2/4] mm: Clear vmf->pte after pte_unmap_same() returns Peter Xu
2021-09-24 3:59 ` Hugh Dickins
2021-09-15 18:15 ` [PATCH v4 3/4] mm: Drop first_index/last_index in zap_details Peter Xu
2021-09-24 4:14 ` Hugh Dickins
2021-09-15 18:15 ` [PATCH v4 4/4] mm: Add zap_skip_check_mapping() helper Peter Xu
2021-09-24 4:44 ` Hugh Dickins
2021-09-24 10:11 ` 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=20210915181456.10739-1-peterx@redhat.com \
--to=peterx@redhat.com \
--cc=aarcange@redhat.com \
--cc=akpm@linux-foundation.org \
--cc=apopple@nvidia.com \
--cc=david@redhat.com \
--cc=hughd@google.com \
--cc=jglisse@redhat.com \
--cc=kirill@shutemov.name \
--cc=liam.howlett@oracle.com \
--cc=linmiaohe@huawei.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=rppt@linux.vnet.ibm.com \
--cc=shy828301@gmail.com \
--cc=willy@infradead.org \
/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 NNTP newsgroup(s).