put_idle_cores() takes a proc * and locking strat
authorBarret Rhoden <brho@cs.berkeley.edu>
Wed, 25 Apr 2012 23:23:52 +0000 (16:23 -0700)
committerBarret Rhoden <brho@cs.berkeley.edu>
Wed, 5 Sep 2012 21:43:55 +0000 (14:43 -0700)
commitc772e1527d48196ea0a8985f2f954df2e6093590
treee9ff0e44eb0e0a60d15dcdb426e74c5352cdb1d2
parent37fcde3757ee69217bd87adb774fc9ed99b05aff
put_idle_cores() takes a proc * and locking strat

And is safer about locking (will be needed shortly).  The diff btw the
internal and external versions is the holding of the sched lock.

Now, the sched lock is protecting the sched lists, the 'idlecoremap',
and will soon protect the provisioning lists in proc->ksched_data.
kern/include/schedule.h
kern/src/monitor.c
kern/src/process.c
kern/src/schedule.c