Removes some struct proc* refcnting
authorBarret Rhoden <brho@cs.berkeley.edu>
Fri, 12 Nov 2010 00:37:45 +0000 (16:37 -0800)
committerKevin Klues <klueska@cs.berkeley.edu>
Thu, 3 Nov 2011 00:35:56 +0000 (17:35 -0700)
commit9f0443ab628e6f1febbdc3e36a0af989306b9364
treecab59d3cb6dba025a09f387807c6944bf621766c
parenta189e444f695d121006448346174ed374fe4ee34
Removes some struct proc* refcnting

We only do it when calling out of syscall.c into something that might
not return and wants a reference it can decref (other than current).

We can just get rid of this completely, making proc_yield() take a
current for a ref, and core_request handling itself.  The only reason we
don't yet is that core_request() could be called remotely (current isn't
loaded), so for now we'll keep having it expect an 'edible' reference.
Documentation/process-internals.txt
kern/src/syscall.c