rcu: Rename rcu_check_callbacks() to rcu_sched_clock_irq()
The name rcu_check_callbacks() arguably made sense back in the early
2000s when RCU was quite a bit simpler than it is today, but it has
become quite misleading, especially with the advent of dyntick-idle
and NO_HZ_FULL. The rcu_check_callbacks() function is RCU's hook into
the scheduling-clock interrupt, and is now but one of many ways that
callbacks get promoted to invocable state.
This commit therefore changes the name to rcu_sched_clock_irq(),
which is the same number of characters and clearly indicates this
function's relation to the rest of the Linux kernel. In addition, for
the sake of consistency, rcu_flavor_check_callbacks() is also renamed
to rcu_flavor_sched_clock_irq().
While in the area, the header comments for both functions are reworked.
Signed-off-by:
Paul E. McKenney <paulmck@linux.ibm.com>
Showing
- Documentation/RCU/Design/Memory-Ordering/Tree-RCU-Memory-Ordering.html 2 additions, 2 deletions.../RCU/Design/Memory-Ordering/Tree-RCU-Memory-Ordering.html
- Documentation/RCU/Design/Memory-Ordering/TreeRCU-callback-invocation.svg 1 addition, 1 deletion...CU/Design/Memory-Ordering/TreeRCU-callback-invocation.svg
- Documentation/RCU/Design/Memory-Ordering/TreeRCU-gp.svg 2 additions, 2 deletionsDocumentation/RCU/Design/Memory-Ordering/TreeRCU-gp.svg
- Documentation/RCU/Design/Memory-Ordering/TreeRCU-qs.svg 1 addition, 1 deletionDocumentation/RCU/Design/Memory-Ordering/TreeRCU-qs.svg
- include/linux/rcupdate.h 1 addition, 1 deletioninclude/linux/rcupdate.h
- kernel/rcu/tiny.c 1 addition, 1 deletionkernel/rcu/tiny.c
- kernel/rcu/tree.c 9 additions, 9 deletionskernel/rcu/tree.c
- kernel/rcu/tree.h 1 addition, 1 deletionkernel/rcu/tree.h
- kernel/rcu/tree_plugin.h 10 additions, 14 deletionskernel/rcu/tree_plugin.h
- kernel/time/timer.c 1 addition, 1 deletionkernel/time/timer.c
Loading
Please register or sign in to comment