Re: [GIT PULL] tracing: Fixes to bootconfig memory management

From: Masami Hiramatsu
Date: Tue Sep 14 2021 - 19:45:00 EST


On Tue, 14 Sep 2021 17:05:53 -0400
Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:

> On Tue, 14 Sep 2021 13:48:15 -0700
> Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> wrote:
>
> > On Tue, Sep 14, 2021 at 12:38 PM Linus Torvalds
> > <torvalds@xxxxxxxxxxxxxxxxxxxx> wrote:
> > >
> > > So I'll do a minimal conversion that adds "memblock_free_ptr()" and
> > > hope that people start using that. And then we can later try to move
> > > "memblock_free()" to a name that isn't so misleading.
> >
> > Commit 77e02cf57b6c ("memblock: introduce saner 'memblock_free_ptr()'
> > interface") should hopefully fix that panic that Vlastimil saw, and
> > the kernel test robot report as well.
> >
> > And it should make it easy to cleanly fix that 'copy' leak too.
> >
>
> Vlastimil,
>
> Can you confirm that Linus's changes addresses your issue?
>
> Masami,
>
> Care to rebase on top of Linus's change?

Sure! and I found another memblock leak, so I'll add it too.

Thank you!


--
Masami Hiramatsu <mhiramat@xxxxxxxxxx>