diff options
| author | Johannes Weiner <[email protected]> | 2024-01-29 20:36:45 -0500 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2024-02-22 10:24:43 -0800 |
| commit | 06ed22890cf9749b0e45d59c5cdc6e46dbd7339d (patch) | |
| tree | 3e9e14dc192fbb0ef08d2cbcddfcbcb64c44e250 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | be7fc97c52835b931682d79121530773b67e8307 (diff) | |
mm: zswap: simplify zswap_invalidate()
The branching is awkward and duplicates code. The comment about
writeback is also misleading: yes, the entry might have been written
back. Or it might have never been stored in zswap to begin with due to
a rejection - zswap_invalidate() is called on all exiting swap entries.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Johannes Weiner <[email protected]>
Reviewed-by: Nhat Pham <[email protected]>
Acked-by: Yosry Ahmed <[email protected]>
Reviewed-by: Chengming Zhou <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions