On Thu, Sep 15, 2011 at 11:46 PM, erik quanstrom <quans...@quanstro.net> wrote: > > > (can't one just preemptively map the whole text on first-fault?)
we actually do if it's 2M pages :-) btw, you want to see some good code, check out mmuput and physinit. Very elegant (to me) code that properly uses the pages available. Quite cool. It had changed since last I looked and I did not realize what a nice job jmk and nemo had done. ron