linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/1] mm: swap: add nr argument in swapcache_prepare() and swapcache_clear()
@ 2024-07-30  7:13 Barry Song
  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
  0 siblings, 1 reply; 17+ messages in thread
From: Barry Song @ 2024-07-30  7:13 UTC (permalink / raw)
  To: akpm, linux-mm
  Cc: baolin.wang, chrisl, david, hannes, hughd, kaleshsingh, kasong,
	linux-kernel, mhocko, minchan, nphamcs, ryan.roberts, senozhatsky,
	shakeel.butt, shy828301, surenb, v-songbaohua, willy, xiang,
	ying.huang, yosryahmed

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



^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2024-08-02  7:18 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-30  7:13 [PATCH 0/1] mm: swap: add nr argument in swapcache_prepare() and swapcache_clear() Barry Song
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

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).