3 ms·
Scheduler activations don't require swap_to. The kernel wakes up the user space scheduler when it decides to put the process onto a cpu. The user space schedul
by PaulDavisThe1st 5y ago
Scheduler activations don't require swap_to.
The kernel wakes up the user space scheduler when it decides to put the process onto a cpu. The user space scheduler decides which user space thread executes in the kernel thread context that it runs in, and does a user space thread switch (not a full context switch) to it. It's a combination of kernel threads and user space (aka "green") threads.