[EMAIL PROTECTED] wrote:
> Yes, a page fault is still time consuming. However, once a page of
> code has been translated, the code that calls that page no longer
> needs to fault for any future invocations.
>
> In other words, the scheme I outlined would result in a number of
> faults proportional to the size of the code, where as the current
> scheme results in a number of faults proportional to the running time
> of the code.
>
> Since, for the majority of programs, the majority of running time is
> spent in a few critical loops and functions, I think there would be a
> large benefit to a translate once, run natively "many times" scheme.
This doesn't work either. How do you differentiate what is code
in a page, data, or junk due to code alignment?
-Kevin
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Kevin Lawton [EMAIL PROTECTED]
MandrakeSoft, Inc. Plex86 developer
http://www.linux-mandrake.com/ http://www.plex86.org/