rcu: Remove unused ->rcu_read_unlock_special.b.deferred_qs field
authorLai Jiangshan <laijs@linux.alibaba.com>
Sat, 15 Feb 2020 22:52:32 +0000 (14:52 -0800)
committerPaul E. McKenney <paulmck@kernel.org>
Mon, 27 Apr 2020 18:03:50 +0000 (11:03 -0700)
commitf0bdf6d473cf12a488a78422e15aafdfe77cf853
tree01fba8ad9502d76921948a65d77d1ef929be9764
parent07b4a930fc44a537efecf73c1fd2b4937f64caaa
rcu: Remove unused ->rcu_read_unlock_special.b.deferred_qs field

The ->rcu_read_unlock_special.b.deferred_qs field is set to true in
rcu_read_unlock_special() but never set to false.  This is not
particularly useful, so this commit removes this field.

The only possible justification for this field is to ease debugging
of RCU deferred quiscent states, but the combination of the other
->rcu_read_unlock_special fields plus ->rcu_blocked_node and of course
->rcu_read_lock_nesting should cover debugging needs.  And if this last
proves incorrect, this patch can always be reverted, along with the
required setting of ->rcu_read_unlock_special.b.deferred_qs to false
in rcu_preempt_deferred_qs_irqrestore().

Signed-off-by: Lai Jiangshan <laijs@linux.alibaba.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
include/linux/sched.h
kernel/rcu/tree_plugin.h