Reducing memory consumption

Alexandre Oliva
Mon Mar 20 10:36:00 GMT 2000

On Mar 20, 2000, Jeffrey A Law <> wrote:

>   In message < >you write:
>> On Mar 19, 2000, Jeffrey A Law <> wrote:

>> Would you like to try that patch that moved the page allocation
>> mechanisms into libiberty?  It was supposed to improve the use of
>> valloc too, and fallback to malloc if it can't be done.

> I probably will the next time I try to bootstrap the m68k -- probably
> as soon as the rest of the targets settle down.

So, you'd better try the latest revision of the patch, that I hadn't
posted for lack of interested.  Here it is.  Since it dates back to
January 24, I won't promise it applies cleanly, but it should at least
be a good start.  And it may cause some slow-down on hosts that use
mmap, because it doesn't merge multiple consecutive pages into a
single munmap().

More information about the Gcc-patches mailing list