aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs
diff options
context:
space:
mode:
authorLai Jiangshan <[email protected]>2019-11-01 05:06:21 -0700
committerPaul E. McKenney <[email protected]>2020-01-24 10:27:33 -0800
commit3717e1e9f25ec7059e421ab6fc602cab7063c11c (patch)
treee3be4d9999576967141e14a0ade78330474d36e1 /tools/testing/selftests/bpf/progs
parent2eeba5838fd8c5e19bb91e25624116936348e7af (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 <[email protected]> Signed-off-by: Paul E. McKenney <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs')
0 files changed, 0 insertions, 0 deletions