On 31.10.2012 9:01, Maurizio Lombardi wrote: > On Tue, Oct 30, 2012 at 12:11 PM, Jakub Jermar <[email protected]> wrote: >> >> Surely there is some maintenance associated with keeping the gaps at >> their desired locations during resize > > Not sure how much "maintenance" is required, the resize is successful > if and only if the end result (the resized area) still has one or more > unmapped pages at both ends. > That's the check_area_conflicts() job. > > I still believe we can implement guarded address space areas with a > ~15 lines patch and I think my proposal has some merits: no flags, no > memory wasted to achieve that, paving the way for something similar to > OpenBSD's malloc. > > If you want I could try to implement it this evening just to see if it > makes sense.
Ok, sounds like a fair deal. You could still enforce the gaps in check_area_conflicts() only for areas with some special flag. Jakub _______________________________________________ HelenOS-devel mailing list [email protected] http://lists.modry.cz/cgi-bin/listinfo/helenos-devel
