]> git.baikalelectronics.ru Git - kernel.git/commit
rcu: Convert ->need_future_gp[] array to boolean
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Wed, 18 Apr 2018 23:50:31 +0000 (16:50 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 15 May 2018 17:29:46 +0000 (10:29 -0700)
commit7cbeffd8f0455ad1bd5bd8714b207a0aff7359a6
tree1fadd183897a95f649974c04b8799f46c79454ac
parente5eef0cf9b0de0949c73db3e8b36b48ab449a747
rcu: Convert ->need_future_gp[] array to boolean

There is no longer any need for ->need_future_gp[] to count the number of
requests for future grace periods, so this commit converts the additions
to assignments to "true" and reduces the size of each element to one byte.
While we are in the area, fix an obsolete comment.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Tested-by: Nicholas Piggin <npiggin@gmail.com>
kernel/rcu/tree.c
kernel/rcu/tree.h