Added krefs, used them for process refcounting
authorBarret Rhoden <brho@cs.berkeley.edu>
Thu, 29 Jul 2010 01:09:40 +0000 (18:09 -0700)
committerKevin Klues <klueska@cs.berkeley.edu>
Thu, 3 Nov 2011 00:35:50 +0000 (17:35 -0700)
commit874e8e0927548d0d7825959bd1bedccd7e7c9142
treeac1e55248239676703b2c3ea29af4ea88db34ba2
parente5e777e441464ee9c7014f2e2e08916747489302
Added krefs, used them for process refcounting

krefs: the approved solution for reference counting.

Removes old proc_increfs, decrefs, manual env_refcnting, cries for
lockless refcounting, a couple bugs, and eleven TODOs!
15 files changed:
Documentation/process-internals.txt
kern/arch/i686/process.c
kern/arch/i686/trap.c
kern/arch/sparc/process.c
kern/arch/sparc/trap.c
kern/include/env.h
kern/include/kref.h [new file with mode: 0644]
kern/include/process.h
kern/include/ros/common.h
kern/src/manager.c
kern/src/monitor.c
kern/src/process.c
kern/src/resource.c
kern/src/schedule.c
kern/src/syscall.c