Support for preempting and yielding btwn two procs
authorBarret Rhoden <brho@cs.berkeley.edu>
Thu, 29 Apr 2010 04:08:12 +0000 (21:08 -0700)
committerKevin Klues <klueska@cs.berkeley.edu>
Thu, 3 Nov 2011 00:35:46 +0000 (17:35 -0700)
commitc13d8d0ee4c052b3aeac5526d48a30e5e1f19d98
tree2b36371e0f8db8cfac1f510ef0227f891aaa768f
parentb0a65abebbf054f48441772668a1133562b7021e
Support for preempting and yielding btwn two procs

Ghetto support for OSDI to have one process preempt another's cores when
there aren't enough idle cores.  Send the REQ_SOFT flag in the higher
priority process.  This will also give any cores yielded back to the
most recent preemption victim.  It's really only made for interactions
between two MCPs.
kern/src/Makefrag
kern/src/kfs.c
kern/src/process.c
kern/src/resource.c
tests/msr_cycling_vcores.c [new file with mode: 0644]