aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGordon Bergling <gbe@FreeBSD.org>2021-11-19 18:13:28 +0000
committerGordon Bergling <gbe@FreeBSD.org>2021-11-19 18:13:28 +0000
commit15b5c347f1916d14e84765ae68921755ee930612 (patch)
tree991a04730b1c795f458a90e10c76d0efdf9a1ae1
parentb2e843161dc3b79777e873183447c92ed9c3703a (diff)
downloadsrc-15b5c347f1916d14e84765ae68921755ee930612.tar.gz
src-15b5c347f1916d14e84765ae68921755ee930612.zip
sched_ule(4): Fix two typo in source code comments
- s/conditons/conditions/ - s/unconditonally/unconditionally/ MFC after: 3 days
-rw-r--r--sys/kern/sched_ule.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/sched_ule.c b/sys/kern/sched_ule.c
index e311c8da8bac..46b3b9aa418f 100644
--- a/sys/kern/sched_ule.c
+++ b/sys/kern/sched_ule.c
@@ -2040,7 +2040,7 @@ tdq_trysteal(struct tdq *tdq)
/*
* The data returned by sched_highest() is stale and
* the chosen CPU no longer has an eligible thread.
- * At this point unconditonally exit the loop to bound
+ * At this point unconditionally exit the loop to bound
* the time spent in the critcal section.
*/
if (steal->tdq_load < steal_thresh ||
@@ -3083,7 +3083,7 @@ sched_fork_exit(struct thread *td)
}
/*
- * Create on first use to catch odd startup conditons.
+ * Create on first use to catch odd startup conditions.
*/
char *
sched_tdname(struct thread *td)