]> git.proxmox.com Git - mirror_ubuntu-jammy-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)
commit6f576e281690316270275bbef17c79ea304ad511
tree1fadd183897a95f649974c04b8799f46c79454ac
parent0ae94e00ce40e4447080ab7675220f725c690330
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