summaryrefslogtreecommitdiff
path: root/sys/kern/init_main.c
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2024-05-21 11:40:32 -0400
committerIan Moffett <ian@osmora.org>2024-05-21 12:40:10 -0400
commit600403a8666da95c8a9e99497b93825cce63c750 (patch)
tree8786da4813fd0ea47ef778120812bf19effb3f0f /sys/kern/init_main.c
parentccfba09b7a23632b6a8c1d8731fcdbf778e148b1 (diff)
kernel: Initial sched rewrite
- Introduce dynamic scheduling policy - Introduce MLFQ scheduling - Clean up a lot of code Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/kern/init_main.c')
-rw-r--r--sys/kern/init_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/init_main.c b/sys/kern/init_main.c
index 4b7f62e..10cd90e 100644
--- a/sys/kern/init_main.c
+++ b/sys/kern/init_main.c
@@ -103,7 +103,7 @@ main(void)
ci = this_cpu();
__TRY_CALL(ap_bootstrap, ci);
- sched_init_processor(ci);
+ sched_enter();
while (1);
__builtin_unreachable();