mm/vmscan: fix typos in comments
Subsystems (3)
PATCH v3 1/1 mm/vmscan: fix typos in comments
From: Xiang Gao <[email protected]>
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)
Signed-off-by Xiang Gao <[email protected]>
Reviewed-by Barry Song <[email protected]>
Reviewed-by Donet Tom <[email protected]>
--- mm/vmscan.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
mm/vmscan.c +3 -3
@@ -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? */
@@ -6205,7 +6205,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 ); }
@@ -7064,7 +7064,7 @@ static int balance_pgdat(pg_data_t *pgdat, int order, int highest_zoneidx)/* * 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))
Signature · 1 line
2.34.1