[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240124045113.415378-1-yosryahmed@google.com>
Date: Wed, 24 Jan 2024 04:51:10 +0000
From: Yosry Ahmed <yosryahmed@...gle.com>
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: Johannes Weiner <hannes@...xchg.org>, Nhat Pham <nphamcs@...il.com>, Chris Li <chrisl@...nel.org>,
Chengming Zhou <zhouchengming@...edance.com>, Huang Ying <ying.huang@...el.com>, linux-mm@...ck.org,
linux-kernel@...r.kernel.org, Yosry Ahmed <yosryahmed@...gle.com>
Subject: [PATCH v2 0/2] mm: zswap: simplify zswap_swapoff()
These patches aim to simplify zswap_swapoff() by removing the
unnecessary trees cleanup code. Patch 1 makes sure that the order of
operations during swapoff is enforced correctly, making sure the
simplification in patch 2 is correct in a future-proof manner.
This is based on mm-unstable and v2 of the "mm/zswap: optimize the
scalability of zswap rb-tree" series [1].
[1]https://lore.kernel.org/lkml/20240117-b4-zswap-lock-optimize-v2-0-b5cc55479090@bytedance.com/
Yosry Ahmed (2):
mm: swap: enforce updating inuse_pages at the end of swap_range_free()
mm: zswap: remove unnecessary trees cleanups in zswap_swapoff()
mm/swapfile.c | 18 +++++++++++++++---
mm/zswap.c | 16 +++-------------
2 files changed, 18 insertions(+), 16 deletions(-)
--
2.43.0.429.g432eaa2c6b-goog
Powered by blists - more mailing lists