From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1758 invoked by alias); 21 May 2009 16:40:11 -0000 Received: (qmail 1743 invoked by uid 22791); 21 May 2009 16:40:10 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 21 May 2009 16:40:01 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id B3F812BAD15; Thu, 21 May 2009 12:39:59 -0400 (EDT) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 2u6ZUGyB-Liy; Thu, 21 May 2009 12:39:59 -0400 (EDT) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 7FB4D2BAD0E; Thu, 21 May 2009 12:39:59 -0400 (EDT) Received: by joel.gnat.com (Postfix, from userid 1000) id 25ACFF5965; Thu, 21 May 2009 18:39:55 +0200 (CEST) Date: Thu, 21 May 2009 16:40:00 -0000 From: Joel Brobecker To: Paul Pluzhnikov Cc: gdb-patches Subject: Re: [patch] Eliminate quadratic slow-down on number of solibs (part 2). Message-ID: <20090521163955.GI16152@adacore.com> References: <8ac60eac0905051749p3b5d14d9q8903b9de8e18137f@mail.gmail.com> <20090512082530.GD7584@adacore.com> <8ac60eac0905121353i4aae7110sebb34bec1de0d6d8@mail.gmail.com> <20090513092709.GB7292@adacore.com> <8ac60eac0905131111v7a73a628o5e6dfee5969119d3@mail.gmail.com> <20090514081402.GF7292@adacore.com> <8ac60eac0905141045q93bfc3fo2b22981f3b1d4db1@mail.gmail.com> <20090521151540.GH16152@adacore.com> <8ac60eac0905210916x30834c0atdb52bcc0c6c5e819@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8ac60eac0905210916x30834c0atdb52bcc0c6c5e819@mail.gmail.com> User-Agent: Mutt/1.5.18 (2008-05-17) Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2009-05/txt/msg00462.txt.bz2 > I am not happy with the "hackiness" of this patch, but don't see how to > fix this better. Yeah, I'm also very uncomfortable with this change but I don't see a better solution yet either. One of the issues is that I don't like globals, because I know they're probably going to be a pain to deal with multi-process (althought I wonder if that part can easily be dealt with by putting it in struct inferior). I'd really like it to be approved by more than just me before it goes in. I can't propose anything better at the moment, so I won't object. Can you lobby some of the other global maintainers to take a look? -- Joel