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.

clemens

_______________________________________________
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community

Reply via email to