[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [patches] malloc & madvise

On Tue, 17 Nov 2009, Richard Kralovic wrote:

> With the attached patch, it should work reliably: The saved format never
> contains any information about the free blocks lists. If using new libc,
> these lists are initialized in malloc_set_state.
> > there are ABI issues and it may be necessary to go (by default) with a 
> > dumber approach that doesn't need to keep extra state.
> Are there any other caveats with this approach?

I don't know of any, but as I said I am not an expert on the malloc 
implementation; I encourage other readers to comment.

Joseph S. Myers