summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorKefeng Wang <wangkefeng.wang@huawei.com>2026-09-10 20:35:44 +0800
committerAndrew Morton <akpm@linux-foundation.org>2026-10-08 22:54:57 -0700
commitc7248110e5641fc47e42c15c3c64e801d588a02e (patch)
tree5c929892617faafdb7143142ae03b651d970447d /scripts/Makefile.thinlto
parent7dd5f47046dd9547aabbd53158da6b95b7011023 (diff)
mm: zswap: reuse zswap_invalidate() in zswap_store()
Reuse zswap_invalidate() in zswap_store() check_old path. Its zswap_never_enabled() and xa_empty() guards avoid redundant xarray lookups and deduplicate the per-slot free logic. Link: https://lore.kernel.org/20260910123544.818146-4-wangkefeng.wang@huawei.com Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Acked-by: Yosry Ahmed <yosry@kernel.org> Reviewed-by: Johannes Weiner <hannes@cmpxchg.org> Cc: Chengming Zhou <chengming.zhou@linux.dev> Cc: Kairui Song <kasong@tencent.com> Cc: Nhat Pham <nphamcs@gmail.com> Cc: Yosry Ahmed <yosryahmed@google.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions