summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorKemeng Shi <shikemeng@huaweicloud.com>2026-09-07 17:13:55 +0800
committerAndrew Morton <akpm@linux-foundation.org>2026-10-08 22:54:59 -0700
commit868346102067b12cbf2d639583079e0cb048ea55 (patch)
tree85db22d8d6aca840f07910cb5338ce36a674fc05 /scripts/Makefile.thinlto
parentbe0291c3c43f8e43e96621e505583ee6b76f0718 (diff)
mm, swap: return early from swap_extend_table_try_free() on first non-zero entry
Return immediately when the first non-zero swap count is found as any non-zero swap count prevents freeing extend_table and further iteration is pointless. Link: https://lore.kernel.org/20260907091356.53026-4-shikemeng@huaweicloud.com Signed-off-by: Kemeng Shi <shikemeng@huaweicloud.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Reviewed-by: Youngjun Park <youngjun.park@lge.com> Acked-by: Kairui Song <kasong@tencent.com> Cc: Baoquan He <baoquan.he@linux.dev> Cc: Barry Song <baohua@kernel.org> Cc: Chris Li <chrisl@kernel.org> Cc: Luiz Capitulino <luizcap@redhat.com> Cc: Nhat Pham <nphamcs@gmail.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions