[PATCH] malloc: Add missing arena lock in malloc_info [BZ #22408]

Florian Weimer fweimer@redhat.com
Tue Nov 14 14:30:00 GMT 2017


On 11/09/2017 11:51 AM, Florian Weimer wrote:
> Also count all heaps in an arena, not just the top-most one.
> 
> 2017-11-09  Florian Weimer  <fweimer@redhat.com>
> 
> 	[BZ #22408]
> 	* malloc/malloc.c (__malloc_info): Calculate arena heap statistics
> 	under the per-arena lock.  Count all heaps, not just the top one.
> 	* malloc/Makefile (tests): Add tst-malloc_info.
> 	(tst-malloc_info): Link with libpthread.
> 	* malloc/tst-malloc_info.c: New file.

Ping?

   https://patchwork.sourceware.org/patch/24179/

(I fixed the subject line.)

Thanks,
Florian



More information about the Libc-alpha mailing list