On Fri Sep 16 18:18:25 EDT 2011, fors...@terzarima.net wrote:
> > (can't one just preemptively map the whole text on first-fault?)
> 
> that doesn't make sense on many architectures.
> if there isn't a page table system, for instance, but a set of moderate size 
> of software-managed tlbs,
> perhaps with hardware assistance, that won't work terribly well.
> the faults tell you what you're using right now. you need a page size, 
> however,
> that's appropriate for your system (including your application set), or
> faulting lots of tiny chunks of text that your processor can execute quickly
> will give excessive overhead.

sure but we are talking about x86_64, which has a limited number of
possible page sizes and hardware managed tlbs.

it would seem that one could give the architecture code the info and
let it decide?

- erik

Reply via email to