Skip to content

RFC Tracing, Idle, RCU and such goodness

Peter Zijlstra lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest3 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3sched,idle,rcu: Push rcu_idle deeper into the idle pathdrivers/cpuidle/cpuidle.c kernel/sched/idle.c+15 -160 replies
2/3locking,entry: #PF vs TRACE_IRQFLAGSinclude/linux/entry-common.h kernel/entry/common.c+26 -274 replies
3/3lockdep,trace: Expose tracepointskernel/locking/lockdep.c+18 -91 reply
3/3lockdep,trace: Expose tracepointskernel/locking/lockdep.c+9 -50 replies

Reviews trailers per patch

2 of 4 patches have a Reviewed-by or Acked-by.

PatchSteven Rosted (VMware)Paul E. McKenney
SeriesT-b
1/3
2/3
3/3R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [RFC][PATCH 0/3] Tracing, Idle, RCU and such goodness

Hi,

Syzbot report:

https://lkml.kernel.org/r/[email protected]

triggered a whole bunch of fallout.

These 3 patches are in reverse order of discovery. With them applied the reproducer no longer triggers and the machine boots without errors.

I also spend half the day trying to rewrite TRACE_IRQFLAGS, but so far haven't had success. I have the feeling that there's something slightly simpler hiding in there, but so far it doesn't want to come out.

Please, look carefully, this is all tricky code, and it's been a long and hot day here, mistakes are almost guaranteed :/

I also want to remove the _rcuidle() from trace_preemptirq.c, but given this was quite enough, I didn't touch those.