Ksched preempts SCPs on schedule() calls
authorBarret Rhoden <brho@cs.berkeley.edu>
Fri, 30 Mar 2012 21:24:15 +0000 (14:24 -0700)
committerBarret Rhoden <brho@cs.berkeley.edu>
Fri, 30 Mar 2012 21:24:15 +0000 (14:24 -0700)
commit2e1bb951bf1b5087de1d2ff1bcb9064c7bff762a
tree734f76b39c441527fe4c58d18d34e439cc04e0d7
parent2722d283e6a37ed04b899789049e4f7243a4dcc6
Ksched preempts SCPs on schedule() calls

Also will check for SCPs to run when the core has nothing to do
(cpu_bored()), as opposed to waiting til the next timer tick.
kern/src/kthread.c
kern/src/process.c
kern/src/schedule.c