From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: Date: Sat, 17 Sep 2011 13:39:11 +1000 Message-ID: From: Bruce Ellis To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Subject: Re: [9fans] gar nix! Topicbox-Message-UUID: 254a9048-ead7-11e9-9d60-3106f5b1d025 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 wrote: > On Fri Sep 16 18:18:25 EDT 2011, forsyth@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)