Re: [for-linus][PATCH 2/2] tracing: Fix wasted memory in saved_cmdlines logic

From: Steven Rostedt
Date: Fri Feb 09 2024 - 06:08:29 EST


On Fri, 09 Feb 2024 05:22:22 -0500
Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:

> s->map_cmdline_to_pid = kmalloc_array(val,
> sizeof(*s->map_cmdline_to_pid),
> GFP_KERNEL);
> - if (!s->map_cmdline_to_pid)
> - return -ENOMEM;
> -

The above was accidentally removed. Putting it back (with an update for
the new algorithm) and retesting now.

-- Steve