Re: [PATCH V3 6/8] mm: and drivers core: Convert hugetlb_report_node_meminfo to sysfs_emit

From: Greg Kroah-Hartman
Date: Tue Sep 29 2020 - 00:17:58 EST


On Mon, Sep 28, 2020 at 05:53:07PM -0700, Joe Perches wrote:
> On Sat, 2020-09-19 at 08:22 +0200, Greg Kroah-Hartman wrote:
> > On Wed, Sep 16, 2020 at 01:40:43PM -0700, Joe Perches wrote:
> > > Convert the unbound sprintf in hugetlb_report_node_meminfo to use
> > > sysfs_emit_at so that no possible overrun of a PAGE_SIZE buf can occur.
> []
> > I'll take a look at it on Monday...
>
> (noting that you didn't say _which_ Monday...)

True :)

> Greg are you going to take this or should I ask someone else?
>
> The first sysfs_emit addition patch was first posted about a month
> ago without much change.
>
> I think it'd be useful to get it into -next before 5.9 is released.

I'll dig into this today...