[folded-merged] mm-swap-allow-cache-reclaim-to-skip-slot-cache-fix.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The quilt patch titled
     Subject: mm-swap-allow-cache-reclaim-to-skip-slot-cache-fix
has been removed from the -mm tree.  Its filename was
     mm-swap-allow-cache-reclaim-to-skip-slot-cache-fix.patch

This patch was dropped because it was folded into mm-swap-allow-cache-reclaim-to-skip-slot-cache.patch

------------------------------------------------------
From: Barry Song <21cnbao@xxxxxxxxx>
Subject: mm-swap-allow-cache-reclaim-to-skip-slot-cache-fix
Date: Mon, 5 Aug 2024 13:53:24 +1200

small folios should have nr_pages == 1 but not nr_page == 0

Link: https://lkml.kernel.org/r/20240805015324.45134-1-21cnbao@xxxxxxxxx
Signed-off-by: Barry Song <21cnbao@xxxxxxxxx>
Cc: Chris Li <chrisl@xxxxxxxxxx>
Cc: "Huang, Ying" <ying.huang@xxxxxxxxx>
Cc: Hugh Dickins <hughd@xxxxxxxxxx>
Cc: Kairui Song <ryncsn@xxxxxxxxx>
Cc: Kalesh Singh <kaleshsingh@xxxxxxxxxx>
Cc: Ryan Roberts <ryan.roberts@xxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 mm/swapfile.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/mm/swapfile.c~mm-swap-allow-cache-reclaim-to-skip-slot-cache-fix
+++ a/mm/swapfile.c
@@ -224,7 +224,7 @@ static int __try_to_reclaim_swap(struct
 
 	spin_lock(&si->lock);
 	/* Only sinple page folio can be backed by zswap */
-	if (!nr_pages)
+	if (nr_pages == 1)
 		zswap_invalidate(entry);
 	swap_entry_range_free(si, entry, nr_pages);
 	spin_unlock(&si->lock);
_

Patches currently in -mm which might be from 21cnbao@xxxxxxxxx are

mm-swap-allow-cache-reclaim-to-skip-slot-cache.patch
mm-attempt-to-batch-free-swap-entries-for-zap_pte_range-fix-3.patch





[Index of Archives]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux