Made fork/exec slow but correct.
authorAndrew Waterman <waterman@parcad.millennium.berkeley.edu>
Wed, 27 Jan 2010 21:32:45 +0000 (13:32 -0800)
committerAndrew Waterman <waterman@parcad.millennium.berkeley.edu>
Wed, 27 Jan 2010 21:32:45 +0000 (13:32 -0800)
commit24d9b3e471ded1b920f0d0edbeb8b5d50b42b91d
tree720600dedd1aa1ff86cf13fb1605a00d23d032df
parent66736e0a421bf02daa932ea1be22f6ee66326020
Made fork/exec slow but correct.

Since mmap is actually used now, we need to scan the whole
virtual address range to determine what to copy or unmap.
But this is really slow, so need to walk the pagetable for
efficiency (using env_user_mem_walk or the like)
kern/src/syscall.c
user/parlib/src/parlibmain.c
user/parlib/src/sparc/newlib_backend.c