Skip to contentSkip to conversation

sched/deadline: Minor typos in dl_entity_overflow comment

PATCH New Alessio Balsini 1 participant 1 message May 28, 2019 Scheduler

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sched/deadline: Minor typos in dl_entity_overflow comment

Fix two non-critical typos in the documentation of the dl_entity_overflow function:
- "rather then" --> "rather than";
- "in such way that" --> "in such a way that".

---
 kernel/sched/deadline.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
kernel/sched/deadline.c +2 -2
index 43901fa3f2693..9b3987b74ca64 100644
@@ -769,7 +769,7 @@ static bool dl_entity_overflow(struct sched_dl_entity *dl_se,
 }
 
 /*
- * Revised wakeup rule [1]: For self-suspending tasks, rather then
+ * Revised wakeup rule [1]: For self-suspending tasks, rather than
  * re-initializing task's runtime and deadline, the revised wakeup
  * rule adjusts the task's runtime to avoid the task to overrun its
  * density.
@@ -780,7 +780,7 @@ static bool dl_entity_overflow(struct sched_dl_entity *dl_se,
  * Therefore, runtime can be adjusted to:
  *     runtime = (dl_runtime / dl_deadline) * (deadline - t)
  *
- * In such way that runtime will be equal to the maximum density
+ * In such a way that runtime will be equal to the maximum density
  * the task can use without breaking any rule.
  *
  * [1] Luca Abeni, Giuseppe Lipari, and Juri Lelli. 2015. Constant
Signature · 1 line
2.22.0.rc1.257.g3120a18244-goog