[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240730071339.107447-1-21cnbao@gmail.com>
Date: Tue, 30 Jul 2024 19:13:38 +1200
From: Barry Song <21cnbao@...il.com>
To: akpm@...ux-foundation.org,
linux-mm@...ck.org
Cc: baolin.wang@...ux.alibaba.com,
chrisl@...nel.org,
david@...hat.com,
hannes@...xchg.org,
hughd@...gle.com,
kaleshsingh@...gle.com,
kasong@...cent.com,
linux-kernel@...r.kernel.org,
mhocko@...e.com,
minchan@...nel.org,
nphamcs@...il.com,
ryan.roberts@....com,
senozhatsky@...omium.org,
shakeel.butt@...ux.dev,
shy828301@...il.com,
surenb@...gle.com,
v-songbaohua@...o.com,
willy@...radead.org,
xiang@...nel.org,
ying.huang@...el.com,
yosryahmed@...gle.com
Subject: [PATCH 0/1] mm: swap: add nr argument in swapcache_prepare() and swapcache_clear()
From: Barry Song <v-songbaohua@...o.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
Powered by blists - more mailing lists