]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite96a7cb21719acec2184c2e7846201f31b59deef
treea544fb87c9f624e7c21e1287400982bdd86d1c69
parentf7938cdd22dc9110b6344398c478426d90b9d072
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