On 30.10.2012 11:56, Maurizio Lombardi wrote:
> On Tue, Oct 30, 2012 at 11:50 AM, Jakub Jermar <[email protected]> wrote:
>>
>> There would still be a way to place the new area just below an already
>> existing area without the gap in between. After a suitable area destroy
>> or resize, it would be also possible to create yet another area that
>> would be bordering with our new area from below, also without a gap. I
>> am afraid we will need to literally allocate the gap so that it can't be
>> filled accidentally.
> 
> Couldn't check_area_conflicts() be improved to take it into account and 
> prevent
> someone to try to fill the empty space between two areas?

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.

Jakub


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

Reply via email to