On Tue, Oct 30, 2012 at 12:11 PM, Jakub Jermar <[email protected]> wrote:
> Interesting idea. It could, or more generally, the kernel could enforce
> both gaps around all areas. The question is whether you'd want that.
> Surely there is some maintenance associated with keeping the gaps at
> their desired locations during resize and this feature is not that much
> useful for anything but stacks.

It could be useful if in the future we will modify malloc() to make
use of anonymous mmap whenever possible (for example for allocations
>= PAGE_SIZE).

This way you will obtain free buffer overruns protection.

-- 
--------------------
Maurizio Lombardi

_______________________________________________
HelenOS-devel mailing list
[email protected]
http://lists.modry.cz/cgi-bin/listinfo/helenos-devel

Reply via email to