Remove major stack consumers from procread()
authorBarret Rhoden <brho@cs.berkeley.edu>
Thu, 4 Feb 2016 22:36:57 +0000 (17:36 -0500)
committerBarret Rhoden <brho@cs.berkeley.edu>
Thu, 4 Feb 2016 22:39:26 +0000 (17:39 -0500)
commit80584160ee11f8d0047c918564d407489bc959f1
tree6db996454d0af0537853a053d7065052916729db
parentee3ffdffd8a7edb389773b176d10e86f30d746c1
Remove major stack consumers from procread()

procread() is a disaster.  This makes it less of a disaster.  We were
running off the end of the kernel stack when running with 4K stacks, due to
the 1K or so procread needed.  We're already deep in 9ns, and that was
enough to clobber memory.

I also removed all of the functionality that was #if 0'd out.  If we ever
need it, we can recreate it or get it from Plan 9 / Harvey.

Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
kern/drivers/dev/proc.c