Preemption functions
authorBarret Rhoden <brho@cs.berkeley.edu>
Wed, 28 Apr 2010 02:40:30 +0000 (19:40 -0700)
committerKevin Klues <klueska@cs.berkeley.edu>
Thu, 3 Nov 2011 00:35:45 +0000 (17:35 -0700)
commitecd778700fbebe45363d6eb6e2e0e49ca8a4b76f
tree14b09e529a1964bca732b54e6353283273efd475
parentf598b1b78d6804c3e6e8a80b5e6a0ce65bbdee13
Preemption functions

Half-temporary functions to preempt or warn about preemption for a
process's core (or all cores).  There are also test apps to run while
this is going on (msr_nice_while will yield when warned).  There are
monitor functions added to measure to test these things.

The time to preempt is really low, enough so that I wonder if it's
working or not.
kern/include/process.h
kern/src/Makefrag
kern/src/init.c
kern/src/kfs.c
kern/src/manager.c
kern/src/monitor.c
kern/src/process.c
tests/msr_dumb_while.c [new file with mode: 0644]
tests/msr_nice_while.c [new file with mode: 0644]
tests/msr_single_while.c [new file with mode: 0644]