mm-zswap-use-folio_swap_entry-in-zswap_store_page.patch removed from -mm tree
The quilt patch titled
Subject: mm/zswap: use folio_swap_entry() in zswap_store_page()
has been removed from the -mm tree. Its filename was
mm-zswap-use-folio_swap_entry-in-zswap_store_page.patch
This patch was dropped because it was merged into the mm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
------------------------------------------------------
From: Tal Zussman <[email protected]>
Subject: mm/zswap: use folio_swap_entry() in zswap_store_page()
Date: Tue, 08 Sep 2026 11:16:34 -0400
zswap_store_page() open-codes the swap entry computation from folio->swap and the page index. Use folio_swap_entry() instead.
No functional change.
---
mm/zswap.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
mm/zswap.c renamed from mm/zswap.c~mm-zswap-use-folio_swap_entry-in-zswap_store_page +1 -2
@@ -1395,8 +1395,7 @@ static bool zswap_store_page(struct folistruct obj_cgroup *objcg, struct zswap_pool *pool) { - swp_entry_t page_swpentry = swp_entry(swp_type(folio->swap), -swp_offset (folio->swap) + index); + swp_entry_t page_swpentry = folio_swap_entry(folio, index);struct zswap_entry *entry, *old;/* allocate entry */
_
Patches currently in -mm which might be from [email protected] are
mm-memcontrol-take-a-const-folio-in-folio_memcg-and-friends.patch mm-memcontrol-constify-obj_cgroup_memcg-and-friends.patch mm-memcontrol-constify-the-lruvec-helpers.patch mm-page_io-take-a-const-folio-in-bio_associate_blkg_from_folio.patch mm-memcontrol-constify-the-mem_cgroup-accessors.patch mm-page_counter-constify-page_counter_read-and-page_counter_margin.patch mm-memcontrol-constify-the-reclaim-protection-helpers.patch mm-memcontrol-constify-the-memcg-and-lruvec-stat-readers.patch mm-memcontrol-constify-the-swap-accounting-helpers.patch mm-memcontrol-constify-mem_cgroup_swappiness-and-mem_cgroup_get_max.patch mm-memcontrol-constify-the-zswap-and-socket-pressure-helpers.patch vmcore-convert-mmap_vmcore_fault-to-use-folios.patch