Thread (14 messages) 14 messages, 2 authors, 2025-07-23

Re: [PATCH v3 2/7] tracing: probe: Allocate traceprobe_parse_context from heap

From: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Date: 2025-07-23 00:26:52
Also in: lkml

On Tue, 22 Jul 2025 18:38:13 -0400
Steven Rostedt [off-list ref] wrote:
On Wed, 23 Jul 2025 07:01:46 +0900
"Masami Hiramatsu (Google)" [off-list ref] wrote:
quoted
From: Masami Hiramatsu (Google) <mhiramat@kernel.org>

Instead of allocating traceprobe_parse_context on stack, allocate it
dynamically from heap (slab).

This change is likely intended to prevent potential stack overflow
issues, which can be a concern in the kernel environment where stack
space is limited.

Reported-by: kernel test robot <redacted>
Closes: https://lore.kernel.org/oe-kbuild-all/202506240416.nZIhDXoO-lkp@intel.com/ (local)
Signed-off-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Reviewed-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Thanks!
-- Steve

-- 
Masami Hiramatsu (Google) [off-list ref]
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help