summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorKemeng Shi <shikemeng@huaweicloud.com>2026-09-07 17:13:56 +0800
committerAndrew Morton <akpm@linux-foundation.org>2026-10-08 22:54:59 -0700
commit63a08a1124ae6658d795acaefcc651ad41cabb16 (patch)
tree31a833543532df7d4ec11f7dc8f81369c5a1679b /scripts/Makefile.thinlto
parent868346102067b12cbf2d639583079e0cb048ea55 (diff)
mm, swap: remove unneeded swap_extend_table_try_free() in swap_dup_entries_cluster()
Since commit 0475fde0f68de ("mm, swap: avoid leaving unused extend table after alloc race"), extend table is always allocated when any swap count reach MAX - 1 and is always freed when swap count decrease to MAX - 1 or MAX - 2 with cluster lock held. So the extend table will always be freed properly when decrease swap count in __swap_cluster_put_entry(). So swap_extend_table_try_free() outside of __swap_cluster_put_entry() is unneeded and can be removed. Link: https://lore.kernel.org/20260907091356.53026-5-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> Cc: Baoquan He <baoquan.he@linux.dev> Cc: Barry Song <baohua@kernel.org> Cc: Chris Li <chrisl@kernel.org> Cc: Kairui Song <kasong@tencent.com> 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