On Mon, Oct 29, 2012 at 10:34 PM, Jiří Zárevúcky <[email protected]> wrote: > While incredibly > helpful (it pointed out my problem immediately, as well as a lingering > bug in libclui), it is inefficient because the guard pages implemented > this way consume memory.
A possible solution that does not make use of guard pages is to create new address space areas at a random addresses instead of the currently used first-fit approach. This way pages next to an area are likely not mapped. As far as i can tell this is the approach adopted by OpenBSD, they also exploit this feature by making heavy use of anonymous mmap in their malloc() implementation. -- -------------------- Maurizio Lombardi _______________________________________________ HelenOS-devel mailing list [email protected] http://lists.modry.cz/cgi-bin/listinfo/helenos-devel
