Thread (13 messages) 13 messages, 5 authors, 2021-09-17

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

From: Linus Torvalds <torvalds@linux-foundation.org>
Date: 2021-09-14 19:05:34
Also in: lkml

On Tue, Sep 14, 2021 at 12:00 PM Steven Rostedt [off-list ref] wrote:
Note, they do fix a real bug as shown by:

  https://lore.kernel.org/all/e5c7ce5b-93f0-b305-de32-c99d0390eb28@suse.cz/ (local)
Ok, can you send me that NULL ptr check as one separate thing?
Should we hold off until mm has fixed this issue?
Yeah.

That would actually fix the NULL pointer issue too, since a _proper_
memblock_free() would just be a no-op for NULL.

That whole "do __pa() on a random pointer to pass it to
memblock_free()" is really just complete garbage in _so_ many ways.

                Linus
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help