Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

sched: Fix leftover comment typos

A few more snuck in. Also capitalize 'CPU' while at it.

Signed-off-by: Ingo Molnar <mingo@kernel.org>

+6 -6
+1 -1
include/linux/sched_clock.h
··· 14 14 * @sched_clock_mask: Bitmask for two's complement subtraction of non 64bit 15 15 * clocks. 16 16 * @read_sched_clock: Current clock source (or dummy source when suspended). 17 - * @mult: Multipler for scaled math conversion. 17 + * @mult: Multiplier for scaled math conversion. 18 18 * @shift: Shift value for scaled math conversion. 19 19 * 20 20 * Care must be taken when updating this structure; it is read by
+2 -2
kernel/sched/core.c
··· 5506 5506 } 5507 5507 5508 5508 /* 5509 - * Try and select tasks for each sibling in decending sched_class 5509 + * Try and select tasks for each sibling in descending sched_class 5510 5510 * order. 5511 5511 */ 5512 5512 for_each_class(class) { ··· 5520 5520 5521 5521 /* 5522 5522 * If this sibling doesn't yet have a suitable task to 5523 - * run; ask for the most elegible task, given the 5523 + * run; ask for the most eligible task, given the 5524 5524 * highest priority task already selected for this 5525 5525 * core. 5526 5526 */
+3 -3
kernel/sched/fair.c
··· 10808 10808 * sched_slice() considers only this active rq and it gets the 10809 10809 * whole slice. But during force idle, we have siblings acting 10810 10810 * like a single runqueue and hence we need to consider runnable 10811 - * tasks on this cpu and the forced idle cpu. Ideally, we should 10811 + * tasks on this CPU and the forced idle CPU. Ideally, we should 10812 10812 * go through the forced idle rq, but that would be a perf hit. 10813 - * We can assume that the forced idle cpu has atleast 10813 + * We can assume that the forced idle CPU has at least 10814 10814 * MIN_NR_TASKS_DURING_FORCEIDLE - 1 tasks and use that to check 10815 - * if we need to give up the cpu. 10815 + * if we need to give up the CPU. 10816 10816 */ 10817 10817 if (rq->core->core_forceidle && rq->cfs.nr_running == 1 && 10818 10818 __entity_slice_used(&curr->se, MIN_NR_TASKS_DURING_FORCEIDLE))