On Fri, 22 Aug 2008 16:53:15 +0200 Clemens Kirchgatterer <[EMAIL PROTECTED]> babbled:
> Carsten Haitzler (The Rasterman) <[EMAIL PROTECTED]> wrote: > > > > Problem is, your might not have the memory to trawl those .desktop > > > files. > > > > thus my original "write a root daemon - setsched() to realtime > > priority and mlock() memory space down! (and of course read every > > page of memory to make sure it's paged in) :) > > from man mlock: > > mlock() locks pages in the address range starting at addr and > continuing for len bytes. All pages that contain a part of the > specified address range are guaranteed to be resi‐ dent in RAM when the > call returns successfully; the pages are guaranteed to stay in RAM > until later unlocked. > > so reading every page seams unnessesary to me. aaah yes. that saves the read :) -- Carsten Haitzler (The Rasterman) <[EMAIL PROTECTED]> _______________________________________________ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community