Searched refs:rcu_state (Results 1 – 13 of 13) sorted by relevance
/linux-6.3-rc2/kernel/rcu/ |
A D | tree_stall.h | 156 WRITE_ONCE(rcu_state.jiffies_stall, in rcu_cpu_stall_reset() 170 WRITE_ONCE(rcu_state.gp_start, j); in record_gp_stall_check_time() 175 rcu_state.n_force_qs_gpstart = READ_ONCE(rcu_state.n_force_qs); in record_gp_stall_check_time() 200 rcu_state.name); in rcu_stall_kick_kthreads() 513 data_race(rcu_state.n_force_qs) - rcu_state.n_force_qs_gpstart, in print_cpu_stall_info() 530 rcu_state.name, j, in rcu_check_gp_kthread_starvation() 624 (long)rcu_seq_current(&rcu_state.gp_seq), totqlen, rcu_state.n_online_cpus); in print_other_cpu_stall() 685 (long)rcu_seq_current(&rcu_state.gp_seq), totqlen, rcu_state.n_online_cpus); in print_cpu_stall() 748 gs1 = READ_ONCE(rcu_state.gp_seq); in check_cpu_stall() 754 gs2 = READ_ONCE(rcu_state.gp_seq); in check_cpu_stall() [all …]
|
A D | tree.c | 84 static struct rcu_state rcu_state = { variable 1028 WRITE_ONCE(rcu_state.gp_wake_seq, READ_ONCE(rcu_state.gp_seq)); in rcu_gp_kthread_wake() 1557 WRITE_ONCE(rcu_state.n_force_qs, rcu_state.n_force_qs + 1); in rcu_gp_fqs() 1605 trace_rcu_grace_period(rcu_state.name, rcu_state.gp_seq, in rcu_gp_fqs_loop() 1628 trace_rcu_grace_period(rcu_state.name, rcu_state.gp_seq, in rcu_gp_fqs_loop() 1636 trace_rcu_grace_period(rcu_state.name, rcu_state.gp_seq, in rcu_gp_fqs_loop() 1647 trace_rcu_grace_period(rcu_state.name, rcu_state.gp_seq, in rcu_gp_fqs_loop() 1677 gp_duration = rcu_state.gp_end - rcu_state.gp_start; in rcu_gp_cleanup() 1788 trace_rcu_grace_period(rcu_state.name, rcu_state.gp_seq, in rcu_gp_kthread() 1802 trace_rcu_grace_period(rcu_state.name, rcu_state.gp_seq, in rcu_gp_kthread() [all …]
|
A D | tree_exp.h | 21 rcu_seq_start(&rcu_state.expedited_sequence); in rcu_exp_gp_seq_start() 40 rcu_seq_end(&rcu_state.expedited_sequence); in rcu_exp_gp_seq_end() 87 if (likely(ncpus == rcu_state.ncpus_snap)) in sync_exp_reset_tree_hotplug() 89 rcu_state.ncpus_snap = ncpus; in sync_exp_reset_tree_hotplug() 204 swake_up_one(&rcu_state.expedited_wq); in __rcu_report_exp_rnp() 293 mutex_trylock(&rcu_state.exp_mutex)) in exp_funnel_lock() 325 mutex_lock(&rcu_state.exp_mutex); in exp_funnel_lock() 328 mutex_unlock(&rcu_state.exp_mutex); in exp_funnel_lock() 629 rcu_state.name); in synchronize_rcu_expedited_wait() 697 mutex_lock(&rcu_state.exp_wake_mutex); in rcu_exp_wait_wake() [all …]
|
A D | tree_nocb.h | 72 rcu_state.nocb_is_setup = true; in rcu_nocb_setup() 1212 mutex_lock(&rcu_state.barrier_mutex); in rcu_nocb_cpu_deoffload() 1223 mutex_unlock(&rcu_state.barrier_mutex); in rcu_nocb_cpu_deoffload() 1297 mutex_lock(&rcu_state.barrier_mutex); in rcu_nocb_cpu_offload() 1308 mutex_unlock(&rcu_state.barrier_mutex); in rcu_nocb_cpu_offload() 1376 !rcu_state.nocb_is_setup && !cpumask) in rcu_init_nohz() 1388 rcu_state.nocb_is_setup = true; in rcu_init_nohz() 1391 if (!rcu_state.nocb_is_setup) in rcu_init_nohz() 1474 "rcuo%c/%d", rcu_state.abbr, cpu); in rcu_spawn_cpu_nocb_kthread() 1485 mutex_lock(&rcu_state.barrier_mutex); in rcu_spawn_cpu_nocb_kthread() [all …]
|
A D | rcu.h | 331 #define rcu_first_leaf_node() (rcu_state.level[rcu_num_lvls - 1]) 337 #define rcu_is_last_leaf_node(rnp) ((rnp) == &rcu_state.node[rcu_num_nodes - 1]) 348 srcu_for_each_node_breadth_first(&rcu_state, rnp) 358 (rnp) < &rcu_state.node[rcu_num_nodes]; (rnp)++)
|
A D | tree_plugin.h | 28 !(lockdep_is_held(&rcu_state.barrier_mutex) || in rcu_rdp_is_offloaded() 335 trace_rcu_preempt_task(rcu_state.name, in rcu_note_context_switch() 403 if (IS_ENABLED(CONFIG_RCU_STRICT_GRACE_PERIOD) && rcu_state.gp_kthread) in __rcu_read_lock() 742 time_after(jiffies, rcu_state.gp_start + HZ)) in rcu_flavor_sched_clock_irq() 822 if (irqs_disabled() || preempt_count() || !rcu_state.gp_kthread) in rcu_read_unlock_strict() 1163 (!time_after(rnp->boost_time, jiffies) || rcu_state.cbovld || in rcu_initiate_boost() 1291 time_before(jiffies, READ_ONCE(rcu_state.gp_start) + HZ))) in rcu_nohz_full_cpu()
|
A D | tree.h | 329 struct rcu_state { struct
|
/linux-6.3-rc2/Documentation/RCU/Design/Data-Structures/ |
A D | Data-Structures.rst | 27 This diagram shows an enclosing ``rcu_state`` structure containing a tree 154 #. ``rcu_state``: This structure forms the interconnection between the 189 following sections give more details on the ``rcu_state``, ``rcu_node`` 192 The ``rcu_state`` Structure 195 The ``rcu_state`` structure is the base structure that represents the 202 A few of the ``rcu_state`` structure's fields are discussed, singly and 209 This portion of the ``rcu_state`` structure is declared as follows: 268 This portion of the ``rcu_state`` structure is declared as follows: 292 This portion of the ``rcu_state`` structure is declared as follows: 836 in the ``rcu_state`` and ``rcu_node`` structures. The [all …]
|
/linux-6.3-rc2/net/sched/ |
A D | sch_generic.c | 1560 cond_synchronize_rcu(miniq->rcu_state); in mini_qdisc_pair_swap() 1561 else if (!poll_state_synchronize_rcu(miniq->rcu_state)) in mini_qdisc_pair_swap() 1573 miniq_old->rcu_state = start_poll_synchronize_rcu(); in mini_qdisc_pair_swap() 1592 miniqp->miniq1.rcu_state = get_state_synchronize_rcu(); in mini_qdisc_pair_init() 1593 miniqp->miniq2.rcu_state = miniqp->miniq1.rcu_state; in mini_qdisc_pair_init()
|
/linux-6.3-rc2/Documentation/RCU/Design/Expedited-Grace-Periods/ |
A D | Expedited-Grace-Periods.rst | 150 ``rcu_state`` structure's ``->ncpus`` field. The ``rcu_state`` 160 ``rcu_state`` structure's ``->ncpus`` and ``->ncpus_snap`` fields are 259 ``->expedited_sequence`` in the ``rcu_state`` structure. This counter 309 respectively. The current value of the ``rcu_state`` structure's 351 Task A now acquires the ``rcu_state`` structure's ``->exp_mutex`` and
|
/linux-6.3-rc2/Documentation/RCU/Design/Memory-Ordering/ |
A D | Tree-RCU-Memory-Ordering.rst | 341 advance the ``rcu_state`` structure's ``->gp_seq`` grace-period-number 370 to the newly advanced value from the ``rcu_state`` structure, as shown 379 ``rcu_state`` structure's ``->gp_seq`` field) before setting each leaf 567 ``rcu_state`` structure's ``->gp_seq`` field. The ordering effects are 586 | once the ``rcu_state`` structure's ``->gp_seq`` field has been |
|
/linux-6.3-rc2/include/net/ |
A D | sch_generic.h | 1262 unsigned long rcu_state; member
|
/linux-6.3-rc2/Documentation/RCU/ |
A D | stallwarn.rst | 241 possible for an rcu_state stall to be caused by both CPUs *and* tasks,
|
Completed in 39 milliseconds