diff options
author | Paul E. McKenney <paulmck@linux.ibm.com> | 2019-01-11 23:36:45 -0500 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.ibm.com> | 2019-03-26 17:40:13 -0400 |
commit | 21d0d79ab051bf9facb9960a30e58b93a31c75a5 (patch) | |
tree | 23a5525d518fb387fb4819f6e0deae7ba84c542b /kernel/rcu/tree_plugin.h | |
parent | 32255d51b6ed00de2b88970ceea8db0ec3bae6f8 (diff) |
rcu: Inline RCU task stall-warning helper functions
The rcu_print_detail_task_stall(), rcu_print_task_stall_begin(), and
rcu_print_task_stall_end() functions were defined to allow long-gone
Kconfig options to provide an abbreviated RCU CPU stall warning printout.
This commit saves a few lines of code by inlining them into their sole
callers.
While in the area, a useless call of rcu_print_detail_task_stall_rnp()
on the root rcu_node structure was eliminated. If there is only one
rcu_node structure, its tasks get printed twice, but if there are more,
the root rcu_node structure is guaranteed to have an empty list of blocked
tasks, hence the uselessness. (Long ago, root rcu_node structures with
non-empty ->blkd_tasks lists could happen, but no longer.)
Signed-off-by: Paul E. McKenney <paulmck@linux.ibm.com>
Diffstat (limited to 'kernel/rcu/tree_plugin.h')
0 files changed, 0 insertions, 0 deletions