summaryrefslogtreecommitdiffstats
path: root/kernel/sched/fair.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2021-05-12 19:51:31 +0200
committerIngo Molnar <mingo@kernel.org>2021-05-12 19:54:49 +0200
commitcc00c1988801dc71f63bb7bad019e85046865095 (patch)
tree56162abfd153e2f0bdc3904856c4b7c98bf9fce0 /kernel/sched/fair.c
parentsched/core: Initialize the idle task with preemption disabled (diff)
downloadlinux-cc00c1988801dc71f63bb7bad019e85046865095.tar.xz
linux-cc00c1988801dc71f63bb7bad019e85046865095.zip
sched: Fix leftover comment typos
A few more snuck in. Also capitalize 'CPU' while at it. Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to '')
-rw-r--r--kernel/sched/fair.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c
index 2635e1048421..161b92aa1c79 100644
--- a/kernel/sched/fair.c
+++ b/kernel/sched/fair.c
@@ -10808,11 +10808,11 @@ static inline void task_tick_core(struct rq *rq, struct task_struct *curr)
* sched_slice() considers only this active rq and it gets the
* whole slice. But during force idle, we have siblings acting
* like a single runqueue and hence we need to consider runnable
- * tasks on this cpu and the forced idle cpu. Ideally, we should
+ * tasks on this CPU and the forced idle CPU. Ideally, we should
* go through the forced idle rq, but that would be a perf hit.
- * We can assume that the forced idle cpu has atleast
+ * We can assume that the forced idle CPU has at least
* MIN_NR_TASKS_DURING_FORCEIDLE - 1 tasks and use that to check
- * if we need to give up the cpu.
+ * if we need to give up the CPU.
*/
if (rq->core->core_forceidle && rq->cfs.nr_running == 1 &&
__entity_slice_used(&curr->se, MIN_NR_TASKS_DURING_FORCEIDLE))