[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [patches] malloc & madvise
- To: Richard Kralovic <Richard.Kralovic@xxxxxxxxxxx>
- Subject: Re: [patches] malloc & madvise
- From: "Joseph S. Myers" <joseph@xxxxxxxxxxxxxxxx>
- Date: Tue, 17 Nov 2009 15:44:54 +0000 (UTC)
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
joseph@xxxxxxxxxxxxxxxx