aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJohannes Weiner <[email protected]>2024-01-29 20:36:44 -0500
committerAndrew Morton <[email protected]>2024-02-22 10:24:43 -0800
commitbe7fc97c52835b931682d79121530773b67e8307 (patch)
tree4da817d3fa6f30e2cfa3312aef215f7c9cc18213 /tools/perf/scripts/python
parentfa9ad6e21003691905f6caa307f9e5bf27ac1c23 (diff)
mm: zswap: further cleanup zswap_store()
- Remove dupentry, reusing entry works just fine. - Rename pool to shrink_pool, as this one actually is confusing. - Remove page, use folio_nid() and kmap_local_folio() directly. - Set entry->swpentry in a common path. - Move value and src to local scope of use. 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')
0 files changed, 0 insertions, 0 deletions