mbox series

[v1,0/5] zswap same-filled and limit checking cleanups

Message ID 20240405013547.1859126-1-yosryahmed@google.com (mailing list archive)
Headers show
Series zswap same-filled and limit checking cleanups | expand

Message

Yosry Ahmed April 5, 2024, 1:35 a.m. UTC
Miscellaneous cleanups for limit checking and same-filled handling in
the store path. This series was broken out of the "zswap: store
zero-filled pages more efficiently" series [1]. It contains the cleanups
and drops the main functional changes.

[1]https://lore.kernel.org/lkml/20240325235018.2028408-1-yosryahmed@google.com/

Yosry Ahmed (5):
  mm: zswap: always shrink in zswap_store() if zswap_pool_reached_full
  mm: zswap: refactor limit checking from zswap_store()
  mm: zswap: move more same-filled pages checks outside of zswap_store()
  mm: zswap: remove same_filled module params
  mm: zswap: do not check the global limit for same-filled pages

 mm/zswap.c | 93 +++++++++++++++++++++---------------------------------
 1 file changed, 36 insertions(+), 57 deletions(-)