[PATCH 0/4] mm, swap: some random fixes and cleanups

From: Kemeng Shi

Date: Mon Jul 20 2026 - 03:15:18 EST


Hello all,

This series contains some random fixes and cleanups. More details
can be found in respective patches.

Thanks!

Kemeng Shi (4):
mm, swap: Fix potential NULL dereference when trying a sleep table
allocation
mm, swap: Move setup_swap_clusters_info() after SWP_SOLIDSTATE
initialization
mm, swap: return early from swap_extend_table_try_free() on first
non-zero entry
mm, swap: Remove unneeded swap_extend_table_try_free() in
swap_dup_entries_cluster()

mm/swapfile.c | 44 +++++++++++++++++++++++++++++++-------------
1 file changed, 31 insertions(+), 13 deletions(-)

--
2.36.1