Skip to content

Commit be8ee18

Browse files
Atul Kumar Panthtejun
authored andcommitted
sched_ext: Fixes typos in comments
Fixes some spelling errors in the comments. Signed-off-by: Atul Kumar Pant <[email protected]> Signed-off-by: Tejun Heo <[email protected]>
1 parent ab18b8f commit be8ee18

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

kernel/sched/ext.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,7 @@ struct sched_ext_ops {
416416

417417
/**
418418
* @update_idle: Update the idle state of a CPU
419-
* @cpu: CPU to udpate the idle state for
419+
* @cpu: CPU to update the idle state for
420420
* @idle: whether entering or exiting the idle state
421421
*
422422
* This operation is called when @rq's CPU goes or leaves the idle
@@ -1214,7 +1214,7 @@ static bool scx_kf_allowed_if_unlocked(void)
12141214

12151215
/**
12161216
* nldsq_next_task - Iterate to the next task in a non-local DSQ
1217-
* @dsq: user dsq being interated
1217+
* @dsq: user dsq being iterated
12181218
* @cur: current position, %NULL to start iteration
12191219
* @rev: walk backwards
12201220
*
@@ -2078,7 +2078,7 @@ static void set_task_runnable(struct rq *rq, struct task_struct *p)
20782078

20792079
/*
20802080
* list_add_tail() must be used. scx_ops_bypass() depends on tasks being
2081-
* appened to the runnable_list.
2081+
* appended to the runnable_list.
20822082
*/
20832083
list_add_tail(&p->scx.runnable_node, &rq->scx.runnable_list);
20842084
}
@@ -2480,7 +2480,7 @@ static struct rq *move_task_between_dsqs(struct task_struct *p, u64 enq_flags,
24802480
/*
24812481
* A poorly behaving BPF scheduler can live-lock the system by e.g. incessantly
24822482
* banging on the same DSQ on a large NUMA system to the point where switching
2483-
* to the bypass mode can take a long time. Inject artifical delays while the
2483+
* to the bypass mode can take a long time. Inject artificial delays while the
24842484
* bypass mode is switching to guarantee timely completion.
24852485
*/
24862486
static void scx_ops_breather(struct rq *rq)
@@ -3144,7 +3144,7 @@ static struct task_struct *pick_task_scx(struct rq *rq)
31443144
*
31453145
* Unless overridden by ops.core_sched_before(), @p->scx.core_sched_at is used
31463146
* to implement the default task ordering. The older the timestamp, the higher
3147-
* prority the task - the global FIFO ordering matching the default scheduling
3147+
* priority the task - the global FIFO ordering matching the default scheduling
31483148
* behavior.
31493149
*
31503150
* When ops.core_sched_before() is enabled, @p->scx.core_sched_at is used to
@@ -4590,7 +4590,7 @@ static int scx_cgroup_init(void)
45904590
cgroup_warned_missing_idle = false;
45914591

45924592
/*
4593-
* scx_tg_on/offline() are excluded thorugh scx_cgroup_rwsem. If we walk
4593+
* scx_tg_on/offline() are excluded through scx_cgroup_rwsem. If we walk
45944594
* cgroups and init, all online cgroups are initialized.
45954595
*/
45964596
rcu_read_lock();

0 commit comments

Comments
 (0)