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

Gleb Natapov gleb@scylladb.com
Mon Aug 1 09:33:00 GMT 2016


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.

--
			Gleb.



More information about the Libc-alpha mailing list