mirror of https://gitee.com/openkylin/linux.git
mm/vmstat.c: fix wrong comment
Comment for pagetypeinfo_showblockcount() is mistakenly duplicated from
pagetypeinfo_show_free()'s comment. This commit fixes it.
Link: http://lkml.kernel.org/r/20170809185816.11244-1-sj38.park@gmail.com
Fixes: 467c996c1e
("Print out statistics in relation to fragmentation avoidance to /proc/pagetypeinfo")
Signed-off-by: SeongJae Park <sj38.park@gmail.com>
Cc: Michal Hocko <mhocko@kernel.org>
Cc: Vlastimil Babka <vbabka@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
1f522a4856
commit
f113e64121
|
@ -1255,7 +1255,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;
|
||||
|
|
Loading…
Reference in New Issue