OSDN Git Service

srcu: Add notrace variants of srcu_read_{lock,unlock}
authorPaul McKenney <paulmck@linux.vnet.ibm.com>
Thu, 28 Jun 2018 18:21:43 +0000 (11:21 -0700)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Thu, 26 Jul 2018 14:50:16 +0000 (10:50 -0400)
commit1f45a4db3657c5ecafb7d3331536c987e6d18311
treea544fb87c9f624e7c21e1287400982bdd86d1c69
parent3e536e222f2930534c252c1cc7ae799c725c5ff9
srcu: Add notrace variants of srcu_read_{lock,unlock}

This is needed for a future tracepoint patch that uses srcu, and to make
sure it doesn't call into lockdep.

tracepoint code already calls notrace variants for rcu_read_lock_sched
so this patch does the same for srcu which will be used in a later
patch. Keeps it consistent with rcu-sched.

[Joel: Added commit message]
Link: http://lkml.kernel.org/r/20180628182149.226164-2-joel@joelfernandes.org
Reviewed-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Signed-off-by: Paul McKenney <paulmck@linux.vnet.ibm.com>
Signed-off-by: Joel Fernandes (Google) <joel@joelfernandes.org>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
include/linux/srcu.h