Added MAP_POPULATE
authorAndrew Waterman <waterman@ros-dev.(none)>
Tue, 30 Mar 2010 05:18:07 +0000 (22:18 -0700)
committerKevin Klues <klueska@cs.berkeley.edu>
Thu, 3 Nov 2011 00:35:38 +0000 (17:35 -0700)
commitb809fae47219299b534ccb6631465b574d666eea
treef36b72aeaaec1b687ae70d1007d4bbeb2523c264
parent061b0efa604f17898be39ba6e292ee9db24b45d9
Added MAP_POPULATE

Faults pages in before returning from mmap.
This will let us get rid of env_segment_alloc.
Also, fixed up handle_page_fault a bit
kern/src/elf.c
kern/src/mm.c