Skip to content

tracing vs rcu vs nmi

Peter Zijlstra linux-arch lkml 2 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest9 patches 53 repliesIn review
  2. v18 patches 20 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9rcu: Rename rcu_irq_{enter,exit}_irqson()include/linux/rcupdate.h include/linux/rcutiny.h include/linux/rcutree.h +4 more+16 -161 reply
2/9rcu: Mark rcu_dynticks_curr_cpu_in_eqs() inlinekernel/rcu/tree.c+1 -13 replies
3/9rcu,tracing: Create trace_rcu_{enter,exit}()include/linux/hardirq.h+48 -041 replies
4/9sched,rcu,tracing: Avoid tracing before in_nmi() is correctinclude/linux/hardirq.h+11 -20 replies
5/9x86,tracing: Add comments to do_nmi()arch/x86/kernel/nmi.c+8 -20 replies
6/9perf,tracing: Prepare the perf-trace interface for RCU changeskernel/events/core.c+5 -03 replies
7/9tracing: Employ trace_rcu_{enter,exit}()kernel/trace/trace.c+3 -160 replies
8/9tracing: Remove regular RCU context for _rcuidle tracepoints (again)include/linux/tracepoint.h+2 -60 replies
9/9perf,tracing: Allow function tracing when !RCUkernel/trace/trace_event_perf.c+1 -15 replies

Reviews trailers per patch

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

PatchJoel Fernandes (Google)Masami Hiramatsu
1/9R-b
2/9
3/9R-b R-b
4/9
5/9
6/9
7/9
8/9
9/9

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

Read the v2 thread

Cover letter [PATCH v2 0/9] tracing vs rcu vs nmi

Hi all,

These here patches are the result of Mathieu and Steve trying to get commit 865e63b04e9b2 ("tracing: Add back in rcu_irq_enter/exit_irqson() for rcuidle tracepoints") reverted again.

One of the things discovered is that tracing MUST NOT happen before nmi_enter() or after nmi_exit(). Audit results of the previous version are still valid.

Changes since -v1:

- Added tags
- Changed #4; changed nmi_enter() to use __preempt_count_add() vs marking preempt_count_add() notrace.
- Changed #5; confusion on which functions are notrace due to Makefile
- Added #9; remove limitation on the perf-function-trace coupling