diff options
author | Domenico Cerasuolo <[email protected]> | 2023-06-12 11:38:14 +0200 |
---|---|---|
committer | Andrew Morton <[email protected]> | 2023-06-19 16:19:27 -0700 |
commit | ff9d5ba202f98db53da98330b46b68a9228c63e4 (patch) | |
tree | 15ecb477fef95b5782caf110ce36c2b109e9b1b6 /tools/perf/scripts/python/mem-phys-addr.py | |
parent | 35499e2b79ffc51ea704c3268a5830164825a43e (diff) |
mm: zswap: simplify writeback function
zswap_writeback_entry() used to be a callback for the backends, which
don't know about struct zswap_entry.
Now that the only user is the generic zswap LRU reclaimer, it can be
simplified: pass the pinned zswap_entry directly, and consolidate the
refcount management in the shrink function.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Domenico Cerasuolo <[email protected]>
Tested-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]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions