lkml.org 
[lkml]   [2023]   [Jul]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/5] Followup folio conversions for zswap
Date
With frontswap killed, it's worth converting the zswap_load() and
zswap_store() functions to take a folio instead of a page pointer.
They aren't converted to support large folios, but there are a lot of
unnecessary calls to compound_head() that are removed by these patches.

Matthew Wilcox (Oracle) (5):
fix-frontswap
zswap: Make zswap_store() take a folio
memcg: Convert get_obj_cgroup_from_page to get_obj_cgroup_from_folio
swap: Remove some calls to compound_head() in swap_readpage()
zswap: Make zswap_load() take a folio

include/linux/memcontrol.h | 4 ++--
include/linux/zswap.h | 8 ++++----
mm/memcontrol.c | 8 ++++----
mm/page_io.c | 17 +++++++++--------
mm/zswap.c | 27 +++++++++++++++------------
5 files changed, 34 insertions(+), 30 deletions(-)

--
2.39.2

\
 
 \ /
  Last update: 2023-07-16 20:52    [W:1.907 / U:0.004 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site