summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorKefeng Wang <wangkefeng.wang@huawei.com>2026-09-10 20:35:43 +0800
committerAndrew Morton <akpm@linux-foundation.org>2026-10-08 22:54:57 -0700
commit7dd5f47046dd9547aabbd53158da6b95b7011023 (patch)
treede562137e80074db03e974f140be18ba537b66f9 /scripts/Makefile.thinlto
parent329808c9cf418a7d174016e88e51fa7a668b7cb1 (diff)
mm: zswap: skip xarray walk in zswap_invalidate() when zswap is unused
zswap_invalidate() still walks the per-area xarray even when zswap has never been enabled. Add a zswap_never_enabled() to skip it. Link: https://lore.kernel.org/20260910123544.818146-3-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