]> Git Repo - linux.git/commit
mm: zswap: remove zswap_header
authorDomenico Cerasuolo <[email protected]>
Mon, 12 Jun 2023 09:38:15 +0000 (11:38 +0200)
committerAndrew Morton <[email protected]>
Mon, 19 Jun 2023 23:19:27 +0000 (16:19 -0700)
commit0bb488498c989e0d912d38b624df31922027c8c5
tree3af6fb3887a5b6506895ce906425abe2e8616742
parentff9d5ba202f98db53da98330b46b68a9228c63e4
mm: zswap: remove zswap_header

Previously, zswap_header served the purpose of storing the swpentry within
zpool pages.  This allowed zpool implementations to pass relevant
information to the writeback function.  However, with the current
implementation, writeback is directly handled within zswap.  Consequently,
there is no longer a necessity for zswap_header, as the swp_entry_t can be
stored directly in zswap_entry.

Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Domenico Cerasuolo <[email protected]>
Tested-by: Yosry Ahmed <[email protected]>
Suggested-by: Yosry Ahmed <[email protected]>
Acked-by: Johannes Weiner <[email protected]>
Cc: Dan Streetman <[email protected]>
Cc: Minchan Kim <[email protected]>
Cc: Nhat Pham <[email protected]>
Cc: Sergey Senozhatsky <[email protected]>
Cc: Seth Jennings <[email protected]>
Cc: Vitaly Wool <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
mm/zswap.c
This page took 0.053313 seconds and 4 git commands to generate.