diff options
Diffstat (limited to 'kernel/rcu/tree.h')
-rw-r--r-- | kernel/rcu/tree.h | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/kernel/rcu/tree.h b/kernel/rcu/tree.h index bb4f995f2d3f..e253d11af3c4 100644 --- a/kernel/rcu/tree.h +++ b/kernel/rcu/tree.h | |||
@@ -393,15 +393,13 @@ static const char *tp_rcu_varname __used __tracepoint_string = rcu_name; | |||
393 | 393 | ||
394 | int rcu_dynticks_snap(struct rcu_data *rdp); | 394 | int rcu_dynticks_snap(struct rcu_data *rdp); |
395 | 395 | ||
396 | /* Forward declarations for rcutree_plugin.h */ | 396 | /* Forward declarations for tree_plugin.h */ |
397 | static void rcu_bootup_announce(void); | 397 | static void rcu_bootup_announce(void); |
398 | static void rcu_qs(void); | 398 | static void rcu_qs(void); |
399 | static int rcu_preempt_blocked_readers_cgp(struct rcu_node *rnp); | 399 | static int rcu_preempt_blocked_readers_cgp(struct rcu_node *rnp); |
400 | #ifdef CONFIG_HOTPLUG_CPU | 400 | #ifdef CONFIG_HOTPLUG_CPU |
401 | static bool rcu_preempt_has_tasks(struct rcu_node *rnp); | 401 | static bool rcu_preempt_has_tasks(struct rcu_node *rnp); |
402 | #endif /* #ifdef CONFIG_HOTPLUG_CPU */ | 402 | #endif /* #ifdef CONFIG_HOTPLUG_CPU */ |
403 | static void rcu_print_detail_task_stall(void); | ||
404 | static int rcu_print_task_stall(struct rcu_node *rnp); | ||
405 | static int rcu_print_task_exp_stall(struct rcu_node *rnp); | 403 | static int rcu_print_task_exp_stall(struct rcu_node *rnp); |
406 | static void rcu_preempt_check_blocked_tasks(struct rcu_node *rnp); | 404 | static void rcu_preempt_check_blocked_tasks(struct rcu_node *rnp); |
407 | static void rcu_flavor_sched_clock_irq(int user); | 405 | static void rcu_flavor_sched_clock_irq(int user); |
@@ -418,9 +416,6 @@ static void rcu_prepare_for_idle(void); | |||
418 | static bool rcu_preempt_has_tasks(struct rcu_node *rnp); | 416 | static bool rcu_preempt_has_tasks(struct rcu_node *rnp); |
419 | static bool rcu_preempt_need_deferred_qs(struct task_struct *t); | 417 | static bool rcu_preempt_need_deferred_qs(struct task_struct *t); |
420 | static void rcu_preempt_deferred_qs(struct task_struct *t); | 418 | static void rcu_preempt_deferred_qs(struct task_struct *t); |
421 | static void print_cpu_stall_info_begin(void); | ||
422 | static void print_cpu_stall_info(int cpu); | ||
423 | static void print_cpu_stall_info_end(void); | ||
424 | static void zero_cpu_stall_ticks(struct rcu_data *rdp); | 419 | static void zero_cpu_stall_ticks(struct rcu_data *rdp); |
425 | static bool rcu_nocb_cpu_needs_barrier(int cpu); | 420 | static bool rcu_nocb_cpu_needs_barrier(int cpu); |
426 | static struct swait_queue_head *rcu_nocb_gp_get(struct rcu_node *rnp); | 421 | static struct swait_queue_head *rcu_nocb_gp_get(struct rcu_node *rnp); |
@@ -445,3 +440,10 @@ static void rcu_bind_gp_kthread(void); | |||
445 | static bool rcu_nohz_full_cpu(void); | 440 | static bool rcu_nohz_full_cpu(void); |
446 | static void rcu_dynticks_task_enter(void); | 441 | static void rcu_dynticks_task_enter(void); |
447 | static void rcu_dynticks_task_exit(void); | 442 | static void rcu_dynticks_task_exit(void); |
443 | |||
444 | /* Forward declarations for tree_stall.h */ | ||
445 | static void record_gp_stall_check_time(void); | ||
446 | static void rcu_iw_handler(struct irq_work *iwp); | ||
447 | static void check_cpu_stall(struct rcu_data *rdp); | ||
448 | static void rcu_check_gp_start_stall(struct rcu_node *rnp, struct rcu_data *rdp, | ||
449 | const unsigned long gpssdelay); | ||