Yield plays nice with preemption
authorBarret Rhoden <brho@cs.berkeley.edu>
Wed, 14 Apr 2010 01:28:54 +0000 (18:28 -0700)
committerKevin Klues <klueska@cs.berkeley.edu>
Thu, 3 Nov 2011 00:35:42 +0000 (17:35 -0700)
commit14270ac8520b26ac3114a17059001174b9472be1
treeabe814f817d2860a0196f3e163c04c40a6627ca3
parente5e37a45bb55407dcd7f76aa170ec93e4e89ca0f
Yield plays nice with preemption

Adds a being_nice parameter, which is how the process tells the kernel
it is giving up its resources in response to a preempt_pending.  It's
not tested heavily.
Documentation/processes.txt
kern/include/process.h
kern/src/process.c
kern/src/syscall.c
tests/mproctests.c
tests/proctests.c
user/include/parlib.h
user/parlib/syscall.c