aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/cyc_complexity_plugin.c
diff options
context:
space:
mode:
authorPaul E. McKenney <[email protected]>2021-07-29 22:35:21 +0000
committerPaul E. McKenney <[email protected]>2021-09-13 23:32:46 +0000
commit768f5d50e6ad88363291f96a2e230442b8d633bc (patch)
treefdf72cad0ea0561849f0fb9d3072001140be98f7 /scripts/gcc-plugins/cyc_complexity_plugin.c
parentrcu: Move rcu_dynticks_eqs_online() to rcu_cpu_starting() (diff)
downloadkernel-768f5d50e6ad88363291f96a2e230442b8d633bc.tar.gz
kernel-768f5d50e6ad88363291f96a2e230442b8d633bc.zip
rcu: Simplify rcu_report_dead() call to rcu_report_exp_rdp()
Currently, rcu_report_dead() disables preemption across its call to rcu_report_exp_rdp(), but this is pointless because interrupts are already disabled by the caller. In addition, rcu_report_dead() computes the address of the outgoing CPU's rcu_data structure, which is also pointless because this address is already present in local variable rdp. This commit therefore drops the preemption disabling and passes rdp to rcu_report_exp_rdp(). Signed-off-by: Paul E. McKenney <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions