* [PATCH] sched/deadline: Minor typos in dl_entity_overflow comment
@ 2019-05-28 15:08 Alessio Balsini
0 siblings, 0 replies; only message in thread
From: Alessio Balsini @ 2019-05-28 15:08 UTC (permalink / raw)
To: linux-kernel; +Cc: kernel-team, Alessio Balsini, Ingo Molnar, Peter Zijlstra
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".
Signed-off-by: Alessio Balsini <balsini@android.com>
---
kernel/sched/deadline.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/kernel/sched/deadline.c b/kernel/sched/deadline.c
index 43901fa3f2693..9b3987b74ca64 100644
--- a/kernel/sched/deadline.c
+++ b/kernel/sched/deadline.c
@@ -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
--
2.22.0.rc1.257.g3120a18244-goog
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2019-05-28 15:09 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-28 15:08 [PATCH] sched/deadline: Minor typos in dl_entity_overflow comment Alessio Balsini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®