From: Andrew Morton Date: Mon, 23 Aug 2021 23:59:33 +0000 (+1000) Subject: mm-compaction-optimize-proactive-compaction-deferrals-fix X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=7cbda6083ae15c77739e8dd50ca01ab95fc8e58f;p=users%2Fjedix%2Flinux-maple.git mm-compaction-optimize-proactive-compaction-deferrals-fix tweak comment Cc: Charan Teja Reddy Cc: David Rientjes Cc: Khalid Aziz Cc: Nitin Gupta Cc: Vinayak Menon Cc: Vlastimil Babka Signed-off-by: Andrew Morton Signed-off-by: Stephen Rothwell --- diff --git a/mm/compaction.c b/mm/compaction.c index 8b111bad89a1..4ee0d40d93f2 100644 --- a/mm/compaction.c +++ b/mm/compaction.c @@ -2909,11 +2909,11 @@ static int kcompactd(void *p) kcompactd_do_work(pgdat); psi_memstall_leave(&pflags); /* - * Reset the timeout value. The defer timeout by - * proactive compaction can effectively lost - * here but that is fine as the condition of the - * zone changed substantionally and carrying on - * with the previous defer is not useful. + * Reset the timeout value. The defer timeout from + * proactive compaction is lost here but that is fine + * as the condition of the zone changing substantionally + * then carrying on with the previous defer interval is + * not useful. */ timeout = default_timeout; continue;