Thread (17 messages) 17 messages, 3 authors, 17d ago

Re: [PATCH] rethook: Use tsk->on_cpu to check task execution state

From: Peter Zijlstra <peterz@infradead.org>
Date: 2026-06-04 09:34:53
Also in: lkml

On Mon, Jun 01, 2026 at 08:40:01AM +0900, Masami Hiramatsu wrote:
Peter, is it OK to drop @rq from task_on_cpu()? 
Sure.
Then we can use it from rethook.
Well, it is in sched/sched.h, which is an internal header, and no you
cannot use that header in rethook.

But lets step back first, what is the actual problem here, why are we
looking at ->on_cpu at all?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help