diff options
author | Lai Jiangshan <laijs@linux.alibaba.com> | 2019-11-01 05:06:21 -0700 |
---|---|---|
committer | Paul E. McKenney <paulmck@kernel.org> | 2020-01-24 10:27:33 -0800 |
commit | 3717e1e9f25ec7059e421ab6fc602cab7063c11c (patch) | |
tree | e3be4d9999576967141e14a0ade78330474d36e1 /kernel/gcov/gcov.h | |
parent | 2eeba5838fd8c5e19bb91e25624116936348e7af (diff) |
rcu: Clear ->rcu_read_unlock_special only once
In rcu_preempt_deferred_qs_irqrestore(), ->rcu_read_unlock_special is
cleared one piece at a time. Given that the "if" statements in this
function use the copy in "special", this commit removes the clearing
of the individual pieces in favor of clearing ->rcu_read_unlock_special
in one go just after it has been determined to be non-zero.
Signed-off-by: Lai Jiangshan <laijs@linux.alibaba.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'kernel/gcov/gcov.h')
0 files changed, 0 insertions, 0 deletions