diff options
author | Alexei Starovoitov <ast@plumgrid.com> | 2015-06-16 19:35:18 +0200 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2015-07-23 00:27:31 +0200 |
commit | 46f00d18fca42cc954c2e9e99a48b6f3a7741ed7 (patch) | |
tree | 9f9eced5cfe86284498ee2f7541fb1920eabe367 /security | |
parent | cpu: Wait for RCU grace periods concurrently (diff) | |
download | linux-46f00d18fca42cc954c2e9e99a48b6f3a7741ed7.tar.xz linux-46f00d18fca42cc954c2e9e99a48b6f3a7741ed7.zip |
rcu: Make rcu_is_watching() really notrace
Although rcu_is_watching() is marked notrace, it invokes preempt_disable()
and preempt_enable(), both of which can be traced. This defeats the
purpose of the notrace on rcu_is_watching(), so this commit substitutes
preempt_disable_notrace() and preempt_enable_notrace().
Signed-off-by: Alexei Starovoitov <ast@plumgrid.com>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Acked-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions