Question: I need help with implementing scheduling algorithm for kernel. I need to use either FIFO, Short Job First, Short time-to-complete First, Multi-level feddback queue. How
I need help with implementing scheduling algorithm for kernel.
I need to use either FIFO, Short Job First, Short time-to-complete First, Multi-level feddback queue.

How do i implement using either one of scheduling algorithm? thank you
void schedule(void) // decide what should be the next thread based on some criteria // reshuffle the current CPU's run queue curcpu->c_runqueue NOTE: you have to protect runqueue from race conditions while modifying it! void schedule(void) // decide what should be the next thread based on some criteria // reshuffle the current CPU's run queue curcpu->c_runqueue NOTE: you have to protect runqueue from race conditions while modifying it
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
