Home
last modified time | relevance | path

Searched refs:gp_seq_needed (Results 1 – 3 of 3) sorted by relevance

/linux/kernel/rcu/
H A Dtree.c1035 if (ULONG_CMP_GE(rnp->gp_seq_needed, gp_seq_req) || in rcu_start_this_gp()
1043 WRITE_ONCE(rnp->gp_seq_needed, gp_seq_req); in rcu_start_this_gp()
1077 if (ULONG_CMP_LT(gp_seq_req, rnp->gp_seq_needed)) { in rcu_start_this_gp()
1078 WRITE_ONCE(rnp_start->gp_seq_needed, rnp->gp_seq_needed); in rcu_start_this_gp()
1079 WRITE_ONCE(rdp->gp_seq_needed, rnp->gp_seq_needed); in rcu_start_this_gp()
1095 needmore = ULONG_CMP_LT(rnp->gp_seq, rnp->gp_seq_needed); in rcu_future_gp_cleanup()
1097 rnp->gp_seq_needed = rnp->gp_seq; /* Avoid counter wrap. */ in rcu_future_gp_cleanup()
1196 if (!READ_ONCE(rdp->gpwrap) && ULONG_CMP_GE(rdp->gp_seq_needed, c)) { in rcu_accelerate_cbs_unlocked()
1312 if (ULONG_CMP_LT(rdp->gp_seq_needed, rnp->gp_seq_needed) || rdp->gpwrap) in __note_gp_changes()
1313 WRITE_ONCE(rdp->gp_seq_needed, rnp->gp_seq_needed); in __note_gp_changes()
[all …]
H A Dtree.h46 unsigned long gp_seq_needed; /* Track furthest future GP request. */ member
192 unsigned long gp_seq_needed; /* Track furthest future GP request. */ member
/linux/Documentation/RCU/Design/Data-Structures/
H A DData-Structures.rst417 2 unsigned long gp_seq_needed;
428 The ``->gp_seq_needed`` fields record the furthest-in-the-future grace
431 equals or exceeds that of the ``->gp_seq_needed`` field.
442 | No, because if the ``->gp_seq_needed`` field lags behind the |
443 | ``->gp_seq`` field, the ``->gp_seq_needed`` field will be updated at |
863 2 unsigned long gp_seq_needed;
870 ``->gp_seq_needed`` field is the counterpart of the field of the same