Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

mm/damon: fix typos in comments

Correct minor spelling mistakes in several files under mm/damon. No
functional changes.

Link: https://lkml.kernel.org/r/20251217181216.47576-1-klourencodev@gmail.com
Signed-off-by: Kevin Lourenco <klourencodev@gmail.com>
Reviewed-by: SeongJae Park <sj@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>

authored by

Kevin Lourenco and committed by
Andrew Morton
5ec9bb6d a9853ac1

+7 -7
+3 -3
mm/damon/core.c
··· 284 284 } 285 285 286 286 /** 287 - * damos_filter_for_ops() - Return if the filter is ops-hndled one. 287 + * damos_filter_for_ops() - Return if the filter is ops-handled one. 288 288 * @type: type of the filter. 289 289 * 290 290 * Return: true if the filter of @type needs to be handled by ops layer, false ··· 1615 1615 adaptation_bp = damon_feed_loop_next_input(100000000, score_bp) / 1616 1616 10000; 1617 1617 /* 1618 - * adaptaion_bp ranges from 1 to 20,000. Avoid too rapid reduction of 1618 + * adaptation_bp ranges from 1 to 20,000. Avoid too rapid reduction of 1619 1619 * the intervals by rescaling [1,10,000] to [5000, 10,000]. 1620 1620 */ 1621 1621 if (adaptation_bp <= 10000) ··· 2789 2789 * 2790 2790 * Reset ->next_aggregation_sis to avoid that. 2791 2791 * It will anyway correctly updated after this 2792 - * if caluse. 2792 + * if clause. 2793 2793 */ 2794 2794 ctx->next_aggregation_sis = 2795 2795 next_aggregation_sis;
+1 -1
mm/damon/lru_sort.c
··· 34 34 * 35 35 * Input parameters that updated while DAMON_LRU_SORT is running are not 36 36 * applied by default. Once this parameter is set as ``Y``, DAMON_LRU_SORT 37 - * reads values of parametrs except ``enabled`` again. Once the re-reading is 37 + * reads values of parameters except ``enabled`` again. Once the re-reading is 38 38 * done, this parameter is set as ``N``. If invalid parameters are found while 39 39 * the re-reading, DAMON_LRU_SORT will be disabled. 40 40 */
+1 -1
mm/damon/reclaim.c
··· 34 34 * 35 35 * Input parameters that updated while DAMON_RECLAIM is running are not applied 36 36 * by default. Once this parameter is set as ``Y``, DAMON_RECLAIM reads values 37 - * of parametrs except ``enabled`` again. Once the re-reading is done, this 37 + * of parameters except ``enabled`` again. Once the re-reading is done, this 38 38 * parameter is set as ``N``. If invalid parameters are found while the 39 39 * re-reading, DAMON_RECLAIM will be disabled. 40 40 */
+1 -1
mm/damon/stat.c
··· 1 1 // SPDX-License-Identifier: GPL-2.0 2 2 /* 3 - * Shows data access monitoring resutls in simple metrics. 3 + * Shows data access monitoring results in simple metrics. 4 4 */ 5 5 6 6 #define pr_fmt(fmt) "damon-stat: " fmt
+1 -1
mm/damon/tests/core-kunit.h
··· 1159 1159 damos_set_filters_default_reject(&scheme); 1160 1160 /* 1161 1161 * A core-handled allow-filter is installed. 1162 - * Rejct by default on core layer filtering stage due to the last 1162 + * Reject by default on core layer filtering stage due to the last 1163 1163 * core-layer-filter's behavior. 1164 1164 * Allow by default on ops layer filtering stage due to the absence of 1165 1165 * ops layer filters.