diff options
author | sotech117 <michael_foiani@brown.edu> | 2024-02-11 07:36:58 +0000 |
---|---|---|
committer | sotech117 <michael_foiani@brown.edu> | 2024-02-11 07:36:58 +0000 |
commit | f16ac7d652fc2991ac4a7dcd97ed17237a393c97 (patch) | |
tree | 69eccf7c857127b47f9157c7e9e28bcbc3d47142 /kernel | |
parent | 6cfe0ddd014597113e0635fcdecba9db0cc2c64b (diff) |
add small todo
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/proc/sched.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 } /* |