[folded-merged] mm-vmscan-do-not-turn-on-cache_trim_mode-if-it-doesnt-work-fix.patch removed from -mm tree

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

 



The quilt patch titled
     Subject: mm-vmscan-do-not-turn-on-cache_trim_mode-if-it-doesnt-work-fix
has been removed from the -mm tree.  Its filename was
     mm-vmscan-do-not-turn-on-cache_trim_mode-if-it-doesnt-work-fix.patch

This patch was dropped because it was folded into mm-vmscan-do-not-turn-on-cache_trim_mode-if-it-doesnt-work.patch

------------------------------------------------------
From: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
Subject: mm-vmscan-do-not-turn-on-cache_trim_mode-if-it-doesnt-work-fix
Date: Fri Feb 23 05:14:42 PM PST 2024

simplofy boolean expression, per ying.huang@xxxxxxxxx

Cc: Byungchul Park <byungchul@xxxxxx>
Cc: "Huang, Ying" <ying.huang@xxxxxxxxx>
Cc: Yu Zhao <yuzhao@xxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

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

--- a/mm/vmscan.c~mm-vmscan-do-not-turn-on-cache_trim_mode-if-it-doesnt-work-fix
+++ a/mm/vmscan.c
@@ -2277,7 +2277,7 @@ static void prepare_scan_control(pg_data
 	 */
 	file = lruvec_page_state(target_lruvec, NR_INACTIVE_FILE);
 	if (file >> sc->priority && !(sc->may_deactivate & DEACTIVATE_FILE) &&
-	    !(sc->cache_trim_mode && !sc->reclaimable && sc->priority <= 1))
+	    (!sc->cache_trim_mode || sc->reclaimable || sc->priority > 1))
 		sc->cache_trim_mode = 1;
 	else
 		sc->cache_trim_mode = 0;
_

Patches currently in -mm which might be from akpm@xxxxxxxxxxxxxxxxxxxx are

hugetlb-parallelize-1g-hugetlb-initialization-fix.patch
mm-vmscan-do-not-turn-on-cache_trim_mode-if-it-doesnt-work.patch
mm-add-alloc_contig_migrate_range-allocation-statistics-fix.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