summaryrefslogtreecommitdiff
path: root/sys/kern
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2024-05-21 13:19:15 -0400
committerIan Moffett <ian@osmora.org>2024-05-21 13:19:15 -0400
commit8d49b45994abba0257a2ae351297bea33d51c07a (patch)
tree8cf766d0cdac037cc7500f9bda4683bddc64650e /sys/kern
parent600403a8666da95c8a9e99497b93825cce63c750 (diff)
kernel: sched: Fix comment
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/kern_sched.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_sched.c b/sys/kern/kern_sched.c
index c85d9bf..ccafbbc 100644
--- a/sys/kern/kern_sched.c
+++ b/sys/kern/kern_sched.c
@@ -133,8 +133,8 @@ sched_dequeue_td(void)
spinlock_acquire(&tdq_lock);
/*
- * Try to pop a thread from a queue. We start
- * at the lowest priority which is 0.
+ * Try to pop a thread from a queue. We start at the
+ * highest priority which is 0.
*/
for (size_t i = 0; i < SCHED_NQUEUE; ++i) {
queue = &qlist[i];