diff options
author | Eric Dumazet <edumazet@google.com> | 2014-04-16 18:06:24 +0200 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2014-04-29 17:45:40 +0200 |
commit | a5d6d3a1b00a0ad88f07c3a727c79b27915278e3 (patch) | |
tree | 0be0f5f7f7d538fcd6ec500b6a2f9380160da3e5 /kernel/rcu/tree.c | |
parent | rcu: Replace __this_cpu_ptr() uses with raw_cpu_ptr() (diff) | |
download | linux-a5d6d3a1b00a0ad88f07c3a727c79b27915278e3.tar.xz linux-a5d6d3a1b00a0ad88f07c3a727c79b27915278e3.zip |
softirq: A single rcu_bh_qs() call per softirq set is enough
Calling rcu_bh_qs() after every softirq action is not really needed.
What RCU needs is at least one rcu_bh_qs() per softirq round to note a
quiescent state was passed for rcu_bh.
Note for Paul and myself : this could be inlined as a single instruction
and avoid smp_processor_id()
(sone this_cpu_write(rcu_bh_data.passed_quiesce, 1))
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Diffstat (limited to 'kernel/rcu/tree.c')
0 files changed, 0 insertions, 0 deletions