Searched refs:gp_seq_needed (Results 1 – 4 of 4) sorted by relevance
/linux/kernel/rcu/ |
H A D | tree_stall.h | 918 (long)data_race(READ_ONCE(rcu_get_root()->gp_seq_needed)), in show_rcu_gp_kthreads() 922 if (ULONG_CMP_GE(READ_ONCE(rcu_state.gp_seq), READ_ONCE(rnp->gp_seq_needed)) && in show_rcu_gp_kthreads() 929 (long)data_race(READ_ONCE(rnp->gp_seq_needed)), in show_rcu_gp_kthreads() 942 READ_ONCE(rdp->gp_seq_needed))) in show_rcu_gp_kthreads() 945 cpu, (long)data_race(READ_ONCE(rdp->gp_seq_needed))); in show_rcu_gp_kthreads() 973 READ_ONCE(rnp_root->gp_seq_needed)) || in rcu_check_gp_start_stall() 986 READ_ONCE(rnp_root->gp_seq_needed)) || in rcu_check_gp_start_stall() 1000 READ_ONCE(rnp_root->gp_seq_needed)) || in rcu_check_gp_start_stall()
|
H A D | tree.c | 996 if (ULONG_CMP_GE(rnp->gp_seq_needed, gp_seq_req) || in rcu_start_this_gp() 1004 WRITE_ONCE(rnp->gp_seq_needed, gp_seq_req); in rcu_start_this_gp() 1038 if (ULONG_CMP_LT(gp_seq_req, rnp->gp_seq_needed)) { in rcu_start_this_gp() 1039 WRITE_ONCE(rnp_start->gp_seq_needed, rnp->gp_seq_needed); in rcu_start_this_gp() 1040 WRITE_ONCE(rdp->gp_seq_needed, rnp->gp_seq_needed); in rcu_start_this_gp() 1305 if (ULONG_CMP_LT(rdp->gp_seq_needed, rnp->gp_seq_needed) || rdp->gpwrap) in __note_gp_changes() 1306 WRITE_ONCE(rdp->gp_seq_needed, rnp->gp_seq_needed); in __note_gp_changes() 2177 trace_rcu_this_gp(rnp, rdp, rnp->gp_seq_needed, in rcu_gp_cleanup() 4118 rnp->gp_seq_needed = rnp->gp_seq = rcu_state.gp_seq; in synchronize_rcu() 4995 rdp->gp_seq_needed = rdp->gp_seq; in rcutree_prepare_cpu() [all …]
|
H A D | tree.h | 46 unsigned long gp_seq_needed; /* Track furthest future GP request. */ member 181 unsigned long gp_seq_needed; /* Track furthest future GP request. */ member
|
/linux/Documentation/RCU/Design/Data-Structures/ |
H A D | Data-Structures.rst | 384 2 unsigned long gp_seq_needed; 395 The ``->gp_seq_needed`` fields record the furthest-in-the-future grace 398 equals or exceeds that of the ``->gp_seq_needed`` field. 409 | No, because if the ``->gp_seq_needed`` field lags behind the | 410 | ``->gp_seq`` field, the ``->gp_seq_needed`` field will be updated at | 830 2 unsigned long gp_seq_needed; 837 ``->gp_seq_needed`` field is the counterpart of the field of the same
|