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

Andreas Schwab schwab@suse.de
Tue Nov 14 16:39:00 GMT 2017


On Nov 14 2017, fweimer@redhat.com (Florian Weimer) wrote:

> 	[BZ #22408]
> 	* malloc/malloc.c (__malloc_info): Obtain arena heap statistics
> 	under the per-arena lock.
> 	* malloc/Makefile (tests): Add tst-malloc_info.
> 	(tst-malloc_info): Link with libpthread.
> 	* malloc/tst-malloc_info.c: New file.

Ok.

Andreas.

-- 
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."



More information about the Libc-alpha mailing list