aboutsummaryrefslogtreecommitdiff
path: root/kernel/workqueue.c
diff options
context:
space:
mode:
authorGravatar Ingo Molnar <mingo@kernel.org> 2024-03-08 12:18:08 +0100
committerGravatar Ingo Molnar <mingo@kernel.org> 2024-03-12 11:59:59 +0100
commit86dd6c04ef9f213e14d60c9f64bce1cc019f816e (patch)
tree6383585f4965843d9d57e0cf456293462275fc0c /kernel/workqueue.c
parentsched/balancing: Rename run_rebalance_domains() => sched_balance_softirq() (diff)
downloadlinux-86dd6c04ef9f213e14d60c9f64bce1cc019f816e.tar.gz
linux-86dd6c04ef9f213e14d60c9f64bce1cc019f816e.tar.bz2
linux-86dd6c04ef9f213e14d60c9f64bce1cc019f816e.zip
sched/balancing: Rename scheduler_tick() => sched_tick()
- Standardize on prefixing scheduler-internal functions defined in <linux/sched.h> with sched_*() prefix. scheduler_tick() was the only function using the scheduler_ prefix. Harmonize it. - The other reason to rename it is the NOHZ scheduler tick handling functions are already named sched_tick_*(). Make the 'git grep sched_tick' more meaningful. Signed-off-by: Ingo Molnar <mingo@kernel.org> Acked-by: Valentin Schneider <vschneid@redhat.com> Reviewed-by: Shrikanth Hegde <sshegde@linux.ibm.com> Link: https://lore.kernel.org/r/20240308111819.1101550-3-mingo@kernel.org
Diffstat (limited to 'kernel/workqueue.c')
-rw-r--r--kernel/workqueue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/workqueue.c b/kernel/workqueue.c
index bf2bdac46843..8fbb0ec39079 100644
--- a/kernel/workqueue.c
+++ b/kernel/workqueue.c
@@ -1464,7 +1464,7 @@ void wq_worker_sleeping(struct task_struct *task)
* wq_worker_tick - a scheduler tick occurred while a kworker is running
* @task: task currently running
*
- * Called from scheduler_tick(). We're in the IRQ context and the current
+ * Called from sched_tick(). We're in the IRQ context and the current
* worker's fields which follow the 'K' locking rule can be accessed safely.
*/
void wq_worker_tick(struct task_struct *task)