summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorKemeng Shi <shikemeng@huaweicloud.com>2026-09-07 17:13:54 +0800
committerAndrew Morton <akpm@linux-foundation.org>2026-10-08 22:54:59 -0700
commitbe0291c3c43f8e43e96621e505583ee6b76f0718 (patch)
tree80b17201f01dd0d992c62c08a7fcde91142b2947 /scripts/Makefile.thinlto
parent103e9222968e9fefcdf8c4be0c60c647e0577e29 (diff)
mm, swap: move setup_swap_clusters_info() after SWP_SOLIDSTATE initialization
In setup_swap_clusters_info(), SWP_SOLIDSTATE is used to decide global_cluster allocation. Move setup_swap_clusters_info() after SWP_SOLIDSTATE initialization to avoid unneeded global_cluster allocation. Link: https://lore.kernel.org/20260907091356.53026-3-shikemeng@huaweicloud.com Fixes: 451c6326105b ("mm, swap: clean up swapon process and locking") Signed-off-by: Kemeng Shi <shikemeng@huaweicloud.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Reviewed-by: Luiz Capitulino <luizcap@redhat.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: Nhat Pham <nphamcs@gmail.com> Cc: Youngjun Park <youngjun.park@lge.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions