Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1707756 > unrolled thread

[PATCH] vmstat: Fix wrong comment

Started bySeongJae Park <sj38.park@gmail.com>
First post2017-08-09 21:00 +0200
Last post2017-08-09 21:00 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH] vmstat: Fix wrong comment SeongJae Park <sj38.park@gmail.com> - 2017-08-09 21:00 +0200

#1707756 — [PATCH] vmstat: Fix wrong comment

FromSeongJae Park <sj38.park@gmail.com>
Date2017-08-09 21:00 +0200
Subject[PATCH] vmstat: Fix wrong comment
Message-ID<ucEn0-2It-9@gated-at.bofh.it>
Comment for pagetypeinfo_showblockcount() is mistakenly duplicated from
pagetypeinfo_show_free()'s comment.  This commit fixes it.

Signed-off-by: SeongJae Park <sj38.park@gmail.com>
Fixes: 467c996c1e19 ("Print out statistics in relation to fragmentation avoidance to /proc/pagetypeinfo")
---
 mm/vmstat.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mm/vmstat.c b/mm/vmstat.c
index 9a4441bbeef2..c30cda773d4a 100644
--- a/mm/vmstat.c
+++ b/mm/vmstat.c
@@ -1250,7 +1250,7 @@ static void pagetypeinfo_showblockcount_print(struct seq_file *m,
 	seq_putc(m, '\n');
 }
 
-/* Print out the free pages at each order for each migratetype */
+/* Print out the number of pageblocks for each migratetype */
 static int pagetypeinfo_showblockcount(struct seq_file *m, void *arg)
 {
 	int mtype;
-- 
2.13.0

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web