[PATCH] count number of loaded objects in each namespace only once

Gleb Natapov gleb@scylladb.com
Mon Aug 1 12:20:00 GMT 2016


On Mon, Aug 01, 2016 at 12:33:34PM +0300, Gleb Natapov wrote:
> On Mon, Aug 01, 2016 at 11:09:29AM +0200, Florian Weimer wrote:
> > On 07/24/2016 02:24 PM, Gleb Natapov wrote:
> > > _ns_nloaded already has count of all objects in a namespace, no need to
> > > add it while iterating over all objects.
> > 
> > I think this needs a test case to show the difference in behavior and make
> > sure we do not regress.
> > 
> OK. I had a reproducer (very ad hoc one). Will try to make it more
> suitable for mainline.
> 
I've just submitted the patch "add test for correct calculation of dl_phdr_info.dlpi_subs"

--
			Gleb.



More information about the Libc-alpha mailing list