Re: [GIT PULL] tracing: Fixes to bootconfig memory management
From: Linus Torvalds
Date: Tue Sep 14 2021 - 16:48:41 EST
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.
Linus