Fix proc refcounting comments
authorBarret Rhoden <brho@cs.berkeley.edu>
Tue, 10 Jan 2017 19:01:16 +0000 (14:01 -0500)
committerBarret Rhoden <brho@cs.berkeley.edu>
Wed, 18 Jan 2017 15:00:02 +0000 (10:00 -0500)
commit5d17f489b91e07c541dfe1cae2501a75b60b6cf3
treef32e42c0289cd3b434d6efe461aaad9924c30855
parent06b98026248c7d1ee95d21519ae5199f71c2484f
Fix proc refcounting comments

The comment in __proc_startcore() was old (2009), and did not get updated
in commit d705057abc58 ("cur_proc broken up into owning_proc and
cur_proc"), which is also old (2011).

proc_destroy() used to not return if it was trying to kill the calling
process.  That changed a long time ago too, but the comment didn't.

Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
kern/src/process.c
kern/src/syscall.c