Proc refcnting wrappers
authorBarret Rhoden <brho@cs.berkeley.edu>
Mon, 28 Feb 2011 23:41:45 +0000 (15:41 -0800)
committerKevin Klues <klueska@cs.berkeley.edu>
Thu, 3 Nov 2011 00:35:59 +0000 (17:35 -0700)
commit9721abd6a931c4267a68b7944cf6b1c60a1dfa16
tree0a59b8c543d503e571fb14bed5a0c13bf949ab39
parentcc1a98858d3dd3c854c3547c81d4efc303468b7e
Proc refcnting wrappers

Uses proc_incref() and proc_decref() for help with debugging.  Note that
not all sources of incref are via proc_incref() (specifically,
pid2proc()), and other places can still access the kref directly.
14 files changed:
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/process.h
kern/src/arsc.c
kern/src/kthread.c
kern/src/manager.c
kern/src/monitor.c
kern/src/process.c
kern/src/resource.c
kern/src/schedule.c
kern/src/syscall.c