This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]