This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] count number of loaded objects in each namespace only once
- From: Gleb Natapov <gleb at scylladb dot com>
- To: Florian Weimer <fweimer at redhat dot com>
- Cc: libc-alpha at sourceware dot org
- Date: Mon, 1 Aug 2016 15:20:38 +0300
- Subject: Re: [PATCH] count number of loaded objects in each namespace only once
- Authentication-results: sourceware.org; auth=none
- References: <20160724122420.GJ1018@scylladb.com> <f0fdef56-64d1-2a00-a037-a9cb861886ae@redhat.com> <20160801093334.GM2502@scylladb.com>
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.