diff options
author | 2019-11-01 05:06:21 -0700 | |
---|---|---|
committer | 2020-01-24 10:27:33 -0800 | |
commit | 3717e1e9f25ec7059e421ab6fc602cab7063c11c (patch) | |
tree | e3be4d9999576967141e14a0ade78330474d36e1 /drivers/usb/cdns3/cdns3-imx.c | |
parent | rcu: Clear .exp_hint only when deferred quiescent state has been reported (diff) | |
download | wireguard-linux-3717e1e9f25ec7059e421ab6fc602cab7063c11c.tar.xz wireguard-linux-3717e1e9f25ec7059e421ab6fc602cab7063c11c.zip |
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 'drivers/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions