i like the idea of dma asynchronously cleared pages for a free list. very much a "if you take last beer stock the fridge" laziness.
brucee On 17 September 2011 08:27, erik quanstrom <quans...@labs.coraid.com> wrote: > 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 > > -- Don't meddle in the mouth -- MVS (0416935147, +1-513-3BRUCEE)