lkml.org 
[lkml]   [2024]   [Apr]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] mm/ksm: fix missing comma in comment
Date
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

\
 
 \ /
  Last update: 2024-05-27 16:19    [W:0.020 / U:0.588 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site