]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
mm/vmscan: fix typos in comments
authorXiang Gao <gaoxiang17@xiaomi.com>
Thu, 16 Apr 2026 06:23:02 +0000 (14:23 +0800)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 29 May 2026 04:04:47 +0000 (21:04 -0700)
Fix three typos in comments:

- Line 112: "zome_reclaim_mode" -> "zone_reclaim_mode"
- Line 6208: "prioities" -> "priorities"
- Line 7067: "that that high" -> "that the high" (duplicated word)

Link: https://lore.kernel.org/20260416062302.727468-1-gxxa03070307@gmail.com
Signed-off-by: Xiang Gao <gaoxiang17@xiaomi.com>
Reviewed-by: Barry Song <baohua@kernel.org>
Reviewed-by: Donet Tom <donettom@linux.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/vmscan.c

index b2d89ed69d228b72e4c9bf2ef1b595c78cd8129e..a9fd43b23a58ba598a9ecb827553e9bbaf0bf83b 100644 (file)
@@ -109,7 +109,7 @@ struct scan_control {
        /* zone_reclaim_mode */
        unsigned int may_unmap:1;
 
-       /* zome_reclaim_mode, boost reclaim, cgroup restrictions */
+       /* zone_reclaim_mode, boost reclaim, cgroup restrictions */
        unsigned int may_swap:1;
 
        /* Not allow cache_trim_mode to be turned on as part of reclaim? */
@@ -6359,7 +6359,7 @@ static void consider_reclaim_throttle(pg_data_t *pgdat, struct scan_control *sc)
        if (current_is_kswapd() || cgroup_reclaim(sc))
                return;
 
-       /* Throttle if making no progress at high prioities. */
+       /* Throttle if making no progress at high priorities. */
        if (sc->priority == 1 && !sc->nr_reclaimed)
                reclaim_throttle(pgdat, VMSCAN_THROTTLE_NOPROGRESS);
 }
@@ -7224,7 +7224,7 @@ restart:
 
                /*
                 * There should be no need to raise the scanning priority if
-                * enough pages are already being scanned that that high
+                * enough pages are already being scanned that the high
                 * watermark would be met at 100% efficiency.
                 */
                if (kswapd_shrink_node(pgdat, &sc))