Skip to content

rcu/ftrace: Add rcu_dereference_raw_notrace() and friends

Steven Rostedt lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2rcu: Add _notrace variation of rcu_dereference_raw() and hlist_for_each_entry_rcu()include/linux/rculist.h include/linux/rcupdate.h+29 -01 reply
2/2ftrace: Use the rcu _notrace variants for rcu_dereference_raw() and friendskernel/trace/ftrace.c+9 -91 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchPaul E. McKenney
1/2A-b
2/2A-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 [PATCH 0/2] rcu/ftrace: Add rcu_dereference_raw_notrace() and friends

Paul,

As you suggesed using the name "*_notrace", I updated my patch. There's two patches now.

The first patch adds two new APIs to the RCU system.
rcu_dereference_raw_notrace() hlist_for_each_entry_rcu_notrace()

I needed the second one as the function tracer uses that too and it calls rcu_dereference_raw().

Is this acceptable for you? If so can you give me your acked-by, so that I can push this up to Linus. Otherwise, the system locks up when doing function tracing with too much RCU debug running.

Thanks,

-- Steve