From 8d49b45994abba0257a2ae351297bea33d51c07a Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Tue, 21 May 2024 13:19:15 -0400 Subject: kernel: sched: Fix comment Signed-off-by: Ian Moffett --- sys/kern/kern_sched.c | 4 ++-- 1 file 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]; -- cgit v1.2.3