From: Barry Song <21cnbao@gmail.com>
To: akpm@linux-foundation.org, linux-mm@kvack.org
Cc: baolin.wang@linux.alibaba.com, chrisl@kernel.org,
david@redhat.com, hannes@cmpxchg.org, hughd@google.com,
kaleshsingh@google.com, kasong@tencent.com,
linux-kernel@vger.kernel.org, mhocko@suse.com,
minchan@kernel.org, nphamcs@gmail.com, ryan.roberts@arm.com,
senozhatsky@chromium.org, shakeel.butt@linux.dev,
shy828301@gmail.com, surenb@google.com, v-songbaohua@oppo.com,
willy@infradead.org, xiang@kernel.org, ying.huang@intel.com,
yosryahmed@google.com
Subject: [PATCH 0/1] mm: swap: add nr argument in swapcache_prepare() and swapcache_clear()
Date: Tue, 30 Jul 2024 19:13:38 +1200 [thread overview]
Message-ID: <20240730071339.107447-1-21cnbao@gmail.com> (raw)
From: Barry Song <v-songbaohua@oppo.com>
Per Baolin's request[1], shmem also depends on this patch. So I am separating
it from mTHP swap-in series[2] so that it can be pulled by Andrew earlier.
Differences with the version in the original series[2]
* collect Baolin's reviewed-by tag, thanks!
* add nr argument rather than instroduce new swapcache_prepare_nr() and
swapcache_clear_nr() according to Willy's comment, thanks!
[1] https://lore.kernel.org/all/c2122229-3710-4e16-8932-303da0644a6a@linux.alibaba.com/
[2] https://lore.kernel.org/all/20240726094618.401593-1-21cnbao@gmail.com/
Barry Song (1):
mm: swap: add nr argument in swapcache_prepare and swapcache_clear to
support large folios
include/linux/swap.h | 4 +-
mm/memory.c | 6 +--
mm/swap.h | 5 ++-
mm/swap_state.c | 2 +-
mm/swapfile.c | 101 +++++++++++++++++++++++++------------------
5 files changed, 68 insertions(+), 50 deletions(-)
--
2.34.1
next reply other threads:[~2024-07-30 7:14 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-30 7:13 Barry Song [this message]
2024-07-30 7:13 ` [PATCH 1/1] mm: swap: add nr argument in swapcache_prepare and swapcache_clear to support large folios Barry Song
2024-07-30 7:42 ` David Hildenbrand
2024-07-30 8:15 ` Baolin Wang
2024-07-31 8:10 ` Huang, Ying
2024-07-31 8:20 ` Barry Song
2024-07-31 8:25 ` Huang, Ying
2024-07-31 10:23 ` Barry Song
2024-08-01 1:09 ` Huang, Ying
2024-08-01 2:07 ` Barry Song
2024-08-01 2:32 ` Huang, Ying
2024-08-01 2:42 ` Barry Song
2024-08-01 2:46 ` Huang, Ying
2024-08-01 9:20 ` Barry Song
2024-08-02 1:46 ` Huang, Ying
2024-08-02 2:09 ` Baolin Wang
2024-08-02 7:18 ` Barry Song
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=20240730071339.107447-1-21cnbao@gmail.com \
--to=21cnbao@gmail.com \
--cc=akpm@linux-foundation.org \
--cc=baolin.wang@linux.alibaba.com \
--cc=chrisl@kernel.org \
--cc=david@redhat.com \
--cc=hannes@cmpxchg.org \
--cc=hughd@google.com \
--cc=kaleshsingh@google.com \
--cc=kasong@tencent.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=mhocko@suse.com \
--cc=minchan@kernel.org \
--cc=nphamcs@gmail.com \
--cc=ryan.roberts@arm.com \
--cc=senozhatsky@chromium.org \
--cc=shakeel.butt@linux.dev \
--cc=shy828301@gmail.com \
--cc=surenb@google.com \
--cc=v-songbaohua@oppo.com \
--cc=willy@infradead.org \
--cc=xiang@kernel.org \
--cc=ying.huang@intel.com \
--cc=yosryahmed@google.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 NNTP newsgroup(s).