Re: [PATCH] mm: fix typos in various comments

From: SJ Park

Date: Tue Sep 22 2026 - 09:00:26 EST


On Tue, 22 Sep 2026 11:18:43 +0800 Zhijian Han <hanzhijian1991@xxxxxxxxx> wrote:

> Fix spelling errors found by codespell in several mm source files:
[...]
> --- a/mm/damon/core.c
> +++ b/mm/damon/core.c
> @@ -2328,7 +2328,7 @@ static bool damos_valid_target(struct damon_ctx *c, struct damon_region *r,
> * This function checks if a given region should be skipped or not for the
> * reason. If only the starting part of the region has previously charged,
> * this function splits the region into two so that the second one covers the
> - * area that not charged in the previous charge widnow, and return true. The
> + * area that not charged in the previous charge window, and return true. The
> * caller can see the second one on the next iteration of the region walk.
> * Note that this means the caller should use damon_for_each_region() instead
> * of damon_for_each_region_safe(). If damon_for_each_region_safe() is used,
> @@ -2486,7 +2486,7 @@ static void damos_walk_call_walk(struct damon_ctx *ctx, struct damon_target *t,
> * This function is called when kdamond finished applying the action of a DAMOS
> * scheme to all regions that eligible for the given &damos->apply_interval_us.
> * If every scheme of @ctx including @s now finished walking for at least one
> - * &damos->apply_interval_us, this function makrs the handling of the given
> + * &damos->apply_interval_us, this function marks the handling of the given
> * DAMOS walk request is done, so that damos_walk() can wake up and return.
> */
> static void damos_walk_complete(struct damon_ctx *ctx, struct damos *s)

As I replied [1] to your another patch, the above DAMON side change cannot be
accepted since the same fix is already suggested and accepted.

[1] https://lore.kernel.org/20260922064216.43053-1-sj@xxxxxxxxxx


Thanks,
SJ

[...]