]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
mm-compaction-optimize-proactive-compaction-deferrals-fix
authorAndrew Morton <akpm@linux-foundation.org>
Mon, 23 Aug 2021 23:59:33 +0000 (09:59 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 25 Aug 2021 23:34:13 +0000 (09:34 +1000)
tweak comment

Cc: Charan Teja Reddy <charante@codeaurora.org>
Cc: David Rientjes <rientjes@google.com>
Cc: Khalid Aziz <khalid.aziz@oracle.com>
Cc: Nitin Gupta <nigupta@nvidia.com>
Cc: Vinayak Menon <vinmenon@codeaurora.org>
Cc: Vlastimil Babka <vbabka@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
mm/compaction.c

index 8b111bad89a185ce2a2ac8f6988574287884aa33..4ee0d40d93f2b6d8df39efafaddb891378ebb501 100644 (file)
@@ -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;