mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-29 10:01:25 +00:00
srcu: Add grace-period sequence numbers
This commit adds grace-period sequence numbers, which will be used to handle mid-boot grace periods and per-CPU callback lists. Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
This commit is contained in:
parent
c2a8ec0778
commit
ac367c1c62
2 changed files with 24 additions and 4 deletions
|
@ -46,6 +46,7 @@ struct rcu_batch {
|
|||
|
||||
struct srcu_struct {
|
||||
unsigned long completed;
|
||||
unsigned long srcu_gp_seq;
|
||||
struct srcu_array __percpu *per_cpu_ref;
|
||||
spinlock_t queue_lock; /* protect ->batch_queue, ->running */
|
||||
int srcu_state;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue