linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Yu-Cheng Chen <otteryc210@gmail.com>
To: akpm@linux-foundation.org
Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org,
	Yu-Cheng Chen <otteryc210@gmail.com>
Subject: [PATCH] mm/ksm: fix missing comma in comment
Date: Tue,  2 Apr 2024 21:44:44 +0800	[thread overview]
Message-ID: <20240402134444.77498-1-otteryc210@gmail.com> (raw)

This commit added an omitted comma to separate clauses, to ensure
grammatical correctness.

Signed-off-by: Yu-Cheng Chen <otteryc210@gmail.com>
---
 mm/ksm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mm/ksm.c b/mm/ksm.c
index 8c001819c..b4de5a9ed 100644
--- a/mm/ksm.c
+++ b/mm/ksm.c
@@ -385,7 +385,7 @@ static unsigned long ewma(unsigned long prev, unsigned long curr)
  *
  *      new_pages_to_scan = pages_to_scan * (scan_time / target_scan_time)
  *
- * To avoid perturbations it calculates a change factor of previous changes.
+ * To avoid perturbations, it calculates a change factor of previous changes.
  * A new change factor is calculated for each iteration and it uses an
  * exponentially weighted moving average. The new pages_to_scan value is
  * multiplied with that change factor:
-- 
2.34.1



                 reply	other threads:[~2024-04-02 13:44 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20240402134444.77498-1-otteryc210@gmail.com \
    --to=otteryc210@gmail.com \
    --cc=akpm@linux-foundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox