MCPs -> Many Filthy _S Ps
authorBarret Rhoden <brho@cs.berkeley.edu>
Mon, 26 Apr 2010 01:42:12 +0000 (18:42 -0700)
committerKevin Klues <klueska@cs.berkeley.edu>
Thu, 3 Nov 2011 00:35:45 +0000 (17:35 -0700)
commit831bc12e27bd866651ebf42d22040dc35ed64e7e
treecf2f915aa3103300750bd3919ea9152925c4d726
parent4b5205f5050cb2eaedcbee9e7a26f8eb77fef5de
MCPs -> Many Filthy _S Ps

When in _M mode, a process (the true_proc) gets n children (the vcores).
When the process dies, all of the children die and eventually the parent
dies, using the normal process mechanics.

Sort of works.  No yielding allowed (just returns).  Usually is okay,
though there are some user page faults from time to time.
kern/include/env.h
kern/include/process.h
kern/include/smp.h
kern/src/manager.c
kern/src/process.c
kern/src/resource.c
kern/src/smp.c
kern/src/syscall.c
tests/mhello.c
tests/pthread_test.c