diff options
author | Paul E. McKenney <paulmck@linux.ibm.com> | 2018-11-28 10:37:42 -0800 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.ibm.com> | 2019-01-25 15:28:24 -0800 |
commit | 1de462ed85062df2ab6939eeee1625e767052907 (patch) | |
tree | 95f4d4df0605d284c33d9926b810fd10287b2f30 /tools/perf/scripts/python/compaction-times.py | |
parent | ad368d15b08ad22509a56bdfd6ee3a04da91ce10 (diff) |
rcu: Make expedited IPI handler return after handling critical section
During expedited RCU grace-period initialization, IPIs are sent to
all non-idle online CPUs. The IPI handler checks to see if the CPU is
in quiescent state, reporting one if so. This handler looks at three
different cases: (1) The CPU is not in an rcu_read_lock()-based critical
section, (2) The CPU is in the process of exiting an rcu_read_lock()-based
critical section, and (3) The CPU is in an rcu_read_lock()-based critical
section. In case (2), execution falls through into case (3).
This is harmless from a functionality viewpoint, but can result in
needless overhead during an improbable corner case. This commit therefore
adds the "return" statement needed to prevent fall-through.
Signed-off-by: Paul E. McKenney <paulmck@linux.ibm.com>
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions