Sped up fork/exec significantly
authorAndrew Waterman <waterman@ubuntu.(none)>
Thu, 14 Jan 2010 20:05:51 +0000 (12:05 -0800)
committerAndrew Waterman <waterman@ubuntu.(none)>
Thu, 14 Jan 2010 20:05:51 +0000 (12:05 -0800)
commit44e03662d5e47314540a4498660f37c0d39c139f
tree25d0d1d872119b528e72ce75506917e3c3bc354e
parent3635991123426a96ff4c133e7774385eb9ee9ac0
Sped up fork/exec significantly

It's still not copy on write, but it's much faster now.
Two main changes: don't have env_segment_free operate
on the entire address space, but rather just the text,
heap, data, and stack.  Also, I implemented pagecopy,
which is like memcpy but assumes a large size/alignment
kern/include/page_alloc.h
kern/include/string.h
kern/src/env.c
kern/src/mm.c
kern/src/page_alloc.c
kern/src/string.c
kern/src/syscall.c
user/parlib/src/hart.c