lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230715042343.434588-1-willy@infradead.org>
Date:   Sat, 15 Jul 2023 05:23:38 +0100
From:   "Matthew Wilcox (Oracle)" <willy@...radead.org>
To:     Johannes Weiner <hannes@...xchg.org>
Cc:     "Matthew Wilcox (Oracle)" <willy@...radead.org>,
        linux-mm@...ck.org, linux-kernel@...r.kernel.org,
        vitaly.wool@...sulko.com, cerasuolodomenico@...il.com,
        nphamcs@...il.com, hch@...radead.org, yosryahmed@...gle.com,
        akpm@...ux-foundation.org
Subject: [PATCH 0/5] Followup folio conversions for zswap

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ