mm-swap-fix-wrong-plist-empty-check-in-swap_alloc_slow.patch removed from -mm tree
The quilt patch titled
Subject: mm/swap: fix wrong plist empty check in swap_alloc_slow()
has been removed from the -mm tree. Its filename was
mm-swap-fix-wrong-plist-empty-check-in-swap_alloc_slow.patch
This patch was dropped because it was merged into the mm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
------------------------------------------------------
From: Youngjun Park <[email protected]>
Subject: mm/swap: fix wrong plist empty check in swap_alloc_slow()
Date: Wed, 19 Nov 2025 20:41:36 +0900
swap_alloc_slow() was checking si->avail_list instead of next->avail_list when verifying if the next swap device is still in the list, which could cause unnecessary restarts during allocation.
---
mm/swapfile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
mm/swapfile.c renamed from mm/swapfile.c~mm-swap-fix-wrong-plist-empty-check-in-swap_alloc_slow +1 -1
@@ -1374,7 +1374,7 @@ start_over:* still in the swap_avail_head list then try it, otherwise * start over if we have not gotten any slots. */ -if (plist_node_empty (&si->avail_list)) +if (plist_node_empty (&next->avail_list)) goto start_over; }spin_unlock (&swap_avail_lock);
_
Patches currently in -mm which might be from [email protected] are