From f16ac7d652fc2991ac4a7dcd97ed17237a393c97 Mon Sep 17 00:00:00 2001 From: sotech117 Date: Sun, 11 Feb 2024 07:36:58 +0000 Subject: add small todo --- kernel/proc/sched.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'kernel/proc') diff --git a/kernel/proc/sched.c b/kernel/proc/sched.c index 2e69634..26d0b22 100644 --- a/kernel/proc/sched.c +++ b/kernel/proc/sched.c @@ -241,6 +241,8 @@ void sched_switch(ktqueue_t *queue) intr_setipl(IPL_LOW); // allow interrupts to wake up the idling core intr_enable(); context_switch(&curthr->kt_ctx, &curcore.kc_ctx); + + // TODO: ask about why we need the old thread context } /* -- cgit v1.2.3-70-g09d2