lkml.org 
[lkml]   [2017]   [Nov]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 3.16 105/133] mm/vmstat.c: fix wrong comment
From
Date
On Wed, 2017-11-22 at 08:41 +0100, Vlastimil Babka wrote:
> On 11/22/2017 02:58 AM, Ben Hutchings wrote:
> > 3.16.51-rc1 review patch. If anyone has any objections, please let me know.
>
> I don't really care much in the end, but is "fix wrong comment" really a
> stable patch material these days? :)

It had a Fixes: field and it clearly won't do any harm.

Still, none of the other stable branches has it so I'll drop it.

Ben.

> > ------------------
> >
> > From: SeongJae Park <sj38.park@gmail.com>
> >
> > commit f113e64121ba9f4791332248b315d9f57ee33a6b upstream.
> >
> > 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: 467c996c1e19 ("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>
> > Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
> > ---
> > mm/vmstat.c | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > --- a/mm/vmstat.c
> > +++ b/mm/vmstat.c
> > @@ -975,7 +975,7 @@ static void pagetypeinfo_showblockcount_
> > 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;
> >
>
>
--
Ben Hutchings
When in doubt, use brute force. - Ken Thompson

[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2017-11-23 14:05    [W:0.093 / U:1.256 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site