diff options
| author | Johannes Weiner <[email protected]> | 2023-07-27 12:22:23 -0400 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2023-08-21 13:37:28 -0700 |
| commit | 56c67049c0ee135868e83ce36ac8d3e037e03f82 (patch) | |
| tree | 10f634307941d9012334bdcbf4468caa7c366e6f /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 68af05143fd4b49d4b12eab8d63c91ffbc7c4e5e (diff) | |
mm: zswap: use zswap_invalidate_entry() for duplicates
Patch series "mm: zswap: three cleanups".
Three small cleanups to zswap, the first one suggested by Yosry during the
frontswap removal.
This patch (of 3):
Minor cleanup. Instead of open-coding the tree deletion and the put, use
the zswap_invalidate_entry() convenience helper.
Link: https://lkml.kernel.org/r/[email protected]
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Johannes Weiner <[email protected]>
Suggested-by: Yosry Ahmed <[email protected]>
Reviewed-by: Yosry Ahmed <[email protected]>
Cc: Domenico Cerasuolo <[email protected]>
Cc: Nhat Pham <[email protected]>
Cc: Barry Song <[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/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions