Re: [PATCH] prevent NULL mmap in topdown model

Arjan van de Ven
2005-05-18T20:38:02Z

On Wed, 2005-05-18 at 15:57 -0400, Rik van Riel wrote:
> This (trivial) patch prevents the topdown allocator from allocating
> mmap areas all the way down to address zero. It's not the prettiest
> patch, so suggestions for improvement are welcome ;)

it looks like you stop at brk() time.. isn't it better to just stop just
above NULL instead?? Gives you more space and is less of an artificial
barrier..