[PATCH 0/2] mm: zswap: simplify zswap_swapoff()

Yosry Ahmed posted 2 patches 1 year, 11 months ago
There is a newer version of this series
mm/swapfile.c | 4 ++--
mm/zswap.c    | 9 ++-------
2 files changed, 4 insertions(+), 9 deletions(-)
[PATCH 0/2] mm: zswap: simplify zswap_swapoff()
Posted by Yosry Ahmed 1 year, 11 months ago
This mini-series simplifies aims to zswap_swapoff(), which should
simplify in progress work touching it (zswap tree split, rbtree to
xarray conversion).

Patch 1 is a code readability change in the core swap code that makes
patch 2 (the actual simplification) more obviously correct.

Yosry Ahmed (2):
  mm: swap: update inuse_pages after all cleanups are done
  mm: zswap: remove unnecessary tree cleanups in zswap_swapoff()

 mm/swapfile.c | 4 ++--
 mm/zswap.c    | 9 ++-------
 2 files changed, 4 insertions(+), 9 deletions(-)

-- 
2.43.0.429.g432eaa2c6b-goog