proc_destroy() no longer requires edible refs
authorBarret Rhoden <brho@cs.berkeley.edu>
Thu, 29 Sep 2011 21:30:38 +0000 (14:30 -0700)
committerKevin Klues <klueska@cs.berkeley.edu>
Thu, 3 Nov 2011 00:36:08 +0000 (17:36 -0700)
commitf5a03926cbd311ad0dbccd1fd19e14abdc66a904
treec5a1e79bd0ba89338a28d1577a1edfb30b37b4b9
parentc1e46694eea42115424beca8471425509390531a
proc_destroy() no longer requires edible refs

proc_destroy() will return, though it does require handling an IMMEDIATE
kmsg (which PRKM currently does, or you can enable interrupts at some
point) before the kernel returns to userspace (in the event of
proc_destroy() being called on the current_tf).

Note that all return paths need to check interrupts (and RKMs) at some
point.
Documentation/process-internals.txt
kern/arch/i686/trap.c
kern/arch/riscv/trap.c
kern/arch/sparc/trap.c
kern/src/mm.c
kern/src/smp.c
kern/src/syscall.c
kern/src/umem.c