put_idle_core() called without the proc_lock
authorBarret Rhoden <brho@cs.berkeley.edu>
Fri, 9 Mar 2012 22:18:54 +0000 (14:18 -0800)
committerBarret Rhoden <brho@cs.berkeley.edu>
Fri, 9 Mar 2012 22:18:54 +0000 (14:18 -0800)
commitfedf1fd6c386d438832ea4efe2d78d33b24636ad
tree67c9bb3814a10669f90df0da73f3be5e38cab4fe
parentad1d92159fe7c732aadbd4773f9554b2c52a0381
put_idle_core() called without the proc_lock

Minor changes to yield and preempt, we give back the core after
unlocking (like with previous patches).

Now, ksched's should be free to do whatever they want in put_idle.
kern/include/schedule.h
kern/src/process.c
kern/src/schedule.c