From: SJ Park <sj@kernel.org>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: "Adrian Huang (Lenovo)" <adrianhuang0701@gmail.com>,
Karthikeyan KS <karthiproffesional@gmail.com>,
Liew Rui Yan <aethernet65535@gmail.com>, SJ Park <sj@kernel.org>,
Xuewen Wang <wangxuewen@kylinos.cn>,
damon@lists.linux.dev, linux-kernel@vger.kernel.org,
linux-mm@kvack.org, "Zenghui Yu (Huawei)" <zenghui.yu@linux.dev>
Subject: [PATCH 3/4] mm/damon: fix typos in comments
Date: Mon, 21 Sep 2026 08:15:45 -0700 [thread overview]
Message-ID: <20260921151547.78472-4-sj@kernel.org> (raw)
In-Reply-To: <20260921151547.78472-1-sj@kernel.org>
From: "Adrian Huang (Lenovo)" <adrianhuang0701@gmail.com>
Correct spelling mistakes. No functional changes.
Signed-off-by: Adrian Huang (Lenovo) <adrianhuang0701@gmail.com>
Reviewed-by: Zenghui Yu (Huawei) <zenghui.yu@linux.dev>
Reviewed-by: SJ Park <sj@kernel.org>
Signed-off-by: SJ Park <sj@kernel.org>
---
Changes from v1
- v1: https://lore.kernel.org/20260915102746.647-1-adrianhuang0701@gmail.com
- Collect R-b: from Zenghui and SJ.
- Rebase to the latest mm-new.
mm/damon/core.c | 6 +++---
mm/damon/lru_sort.c | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/mm/damon/core.c b/mm/damon/core.c
index 98c767b9e6ef..0aa5d0ea8ebc 100644
--- a/mm/damon/core.c
+++ b/mm/damon/core.c
@@ -2486,7 +2486,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,
@@ -2652,7 +2652,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)
@@ -4177,7 +4177,7 @@ static bool damon_find_system_rams_range(unsigned long *start,
* This function sets the region of @t as requested by @start and @end. If the
* values of @start and @end are zero, however, this function finds 'System
* RAM' resources and sets the region to cover all the resource. In the latter
- * case, this function saves the start and the end addresseses of the first and
+ * case, this function saves the start and the end addresses of the first and
* the last resources in @start and @end, respectively.
*
* Return: 0 on success, negative error code otherwise.
diff --git a/mm/damon/lru_sort.c b/mm/damon/lru_sort.c
index ad8e86dd3a93..273efa3c913e 100644
--- a/mm/damon/lru_sort.c
+++ b/mm/damon/lru_sort.c
@@ -260,7 +260,7 @@ static int damon_lru_sort_add_filters(struct damos *hot_scheme,
return -ENOMEM;
damos_add_filter(hot_scheme, filter);
- /* disabllow de-prioritizing young pages */
+ /* disallow de-prioritizing young pages */
filter = damos_new_filter(DAMOS_FILTER_TYPE_YOUNG, true, false);
if (!filter)
return -ENOMEM;
--
2.47.3
next prev parent reply other threads:[~2026-09-21 15:16 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-21 15:15 [PATCH 0/4] mm/damon: improvements in efficiency, error handling, documents SJ Park
2026-09-21 15:15 ` [PATCH 1/4] mm/damon/core: skip quota score setup when the quota is full SJ Park
2026-09-21 15:22 ` sashiko-bot
2026-09-21 15:15 ` [PATCH 2/4] mm/damon/sysfs: propagate damon_call() error in turn_damon_on SJ Park
2026-09-21 15:22 ` sashiko-bot
2026-09-21 15:15 ` SJ Park [this message]
2026-09-21 15:17 ` [PATCH 3/4] mm/damon: fix typos in comments sashiko-bot
2026-09-21 15:15 ` [PATCH 4/4] mm/damon: document that a zero sample_interval is accepted SJ Park
2026-09-21 15:22 ` sashiko-bot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260921151547.78472-4-sj@kernel.org \
--to=sj@kernel.org \
--cc=adrianhuang0701@gmail.com \
--cc=aethernet65535@gmail.com \
--cc=akpm@linux-foundation.org \
--cc=damon@lists.linux.dev \
--cc=karthiproffesional@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=wangxuewen@kylinos.cn \
--cc=zenghui.yu@linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.