Removes __proc_kmsg_pending()
authorBarret Rhoden <brho@cs.berkeley.edu>
Thu, 29 Sep 2011 20:12:01 +0000 (13:12 -0700)
committerKevin Klues <klueska@cs.berkeley.edu>
Thu, 3 Nov 2011 00:36:08 +0000 (17:36 -0700)
commitc1e46694eea42115424beca8471425509390531a
tree92d126ec99f0c0458693a4c2452ab50aa908c15f
parent2c7cd4f5b8ec9f91c0f555a19bd5519a06818ee6
Removes __proc_kmsg_pending()

Since proc management kmsgs return and are IMMEDIATE, we no longer need
the painful logic of determining that the kernel needs to clean up in
anticipating of a 'stack killing' kmsg.

This means schedule() can run on a core, preempt the _M's vcore running
there, and give out both that vcore and the pcore without worrying about
its own code getting interrupted.
Documentation/process-internals.txt
kern/include/process.h
kern/src/monitor.c
kern/src/process.c
kern/src/resource.c