Changes the pidhash to be an internal reference
authorBarret Rhoden <brho@cs.berkeley.edu>
Fri, 6 Aug 2010 19:20:10 +0000 (12:20 -0700)
committerKevin Klues <klueska@cs.berkeley.edu>
Thu, 3 Nov 2011 00:35:50 +0000 (17:35 -0700)
commit86a97d02cd54bbd5d80ff7c968c4c0b0247c7c9c
tree64b09a7ccfdb8a67bb71f8d255f464fcb782fb97
parent30b5d194c786c11e88df00c7f73b35d28f39328a
Changes the pidhash to be an internal reference

In sync with kref usage patterns, easier to understand, and fixes a bug
with removing from the pidhash before freeing (which messed up
sys_try_wait()).

Side note: this patch changes more documentation than code (which was
really just one change and one move).
Documentation/kref.txt
Documentation/process-internals.txt
kern/src/process.c