VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   33 Branches   55 Tags
author: Miaohe Lin <linmiaohe@huawei.com> 2021-09-02 15:01:03 -0700 committer: Linus Torvalds <torvalds@linux-foundation.org> 2021-09-03 09:58:18 -0700 commit: ea15ba17b434b7dd7f92bb85b7e5cf53707733ad parent: 319814504992f51ed17af60edb1a237ada1892e8
Commit Summary:
mm/vmstat: correct some wrong comments
Diffstat:
1 file changed, 1 insertion, 6 deletions
diff --git a/mm/vmstat.c b/mm/vmstat.c
index ec5a2e789dd2..5bd621eadc48 100644
--- a/mm/vmstat.c
+++ b/mm/vmstat.c
@@ -204,7 +204,7 @@ int calculate_normal_threshold(struct zone *zone)
 	 *
 	 * Some sample thresholds:
 	 *
-	 * Threshold	Processors	(fls)	Zonesize	fls(mem+1)
+	 * Threshold	Processors	(fls)	Zonesize	fls(mem)+1
 	 * ------------------------------------------------------------------
 	 * 8		1		1	0.9-1 GB	4
 	 * 16		2		2	0.9-1 GB	4
@@ -1875,11 +1875,6 @@ static void vmstat_update(struct work_struct *w)
 	}
 }
 
-/*
- * Switch off vmstat processing and then fold all the remaining differentials
- * until the diffs stay at zero. The function is used by NOHZ and can only be
- * invoked when tick processing is not active.
- */
 /*
  * Check if the diffs for a certain cpu indicate that
  * an update is needed.