Thread (4 messages) 4 messages, 2 authors, 8d ago

Re: [PATCH] selftests/tracing: Have trigger-hist-poll.tc use sched_process_exit

From: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Date: 2026-07-09 04:58:35
Also in: linux-kselftest, lkml

On Wed, 8 Jul 2026 16:37:31 -0400
Steven Rostedt [off-list ref] wrote:
On Wed, 8 Jul 2026 16:35:39 -0400
Steven Rostedt [off-list ref] wrote:
quoted
I forgot to mention that I tested this with and without CONFIG_RCU_LAZY.
With that config disabled, the test passes. With it enabled, it always
fails.
And I also traced it with:

  trace-cmd set -p function_graph -l event_hist_poll -O funcgraph-retval

and it shows the sched_process_free being called for the sleep process
*after* the poll finishes.
Thanks for fix and tested!!

Acked-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
-- 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