1
0

release 6.12.11

This commit is contained in:
2025-01-28 09:25:42 +03:00
parent 5b35bedab1
commit dbf57fda83
25 changed files with 2351 additions and 39 deletions

View File

@@ -102,7 +102,7 @@ Contains:
--- a/mm/vmscan.c
+++ b/mm/vmscan.c
@@ -6353,7 +6353,7 @@ retry:
@@ -6384,7 +6384,7 @@ retry:
return 0;
}
@@ -111,7 +111,7 @@ Contains:
{
struct zone *zone;
unsigned long pfmemalloc_reserve = 0;
@@ -6382,6 +6382,10 @@ static bool allow_direct_reclaim(pg_data
@@ -6413,6 +6413,10 @@ static bool allow_direct_reclaim(pg_data
wmark_ok = free_pages > pfmemalloc_reserve / 2;
@@ -122,7 +122,7 @@ Contains:
/* kswapd must be awake if processes are being throttled */
if (!wmark_ok && waitqueue_active(&pgdat->kswapd_wait)) {
if (READ_ONCE(pgdat->kswapd_highest_zoneidx) > ZONE_NORMAL)
@@ -6447,7 +6451,7 @@ static bool throttle_direct_reclaim(gfp_
@@ -6478,7 +6482,7 @@ static bool throttle_direct_reclaim(gfp_
/* Throttle based on the first usable node */
pgdat = zone->zone_pgdat;
@@ -131,7 +131,7 @@ Contains:
goto out;
break;
}
@@ -6469,11 +6473,14 @@ static bool throttle_direct_reclaim(gfp_
@@ -6500,11 +6504,14 @@ static bool throttle_direct_reclaim(gfp_
*/
if (!(gfp_mask & __GFP_FS))
wait_event_interruptible_timeout(pgdat->pfmemalloc_wait,
@@ -148,7 +148,7 @@ Contains:
if (fatal_signal_pending(current))
return true;
@@ -6976,14 +6983,14 @@ restart:
@@ -7007,14 +7014,14 @@ restart:
* able to safely make forward progress. Wake them
*/
if (waitqueue_active(&pgdat->pfmemalloc_wait) &&