From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6814 invoked by alias); 31 Jan 2006 13:59:07 -0000 Received: (qmail 6806 invoked by uid 22791); 31 Jan 2006 13:59:06 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Tue, 31 Jan 2006 13:59:06 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1F3w2A-0000LF-B9; Tue, 31 Jan 2006 08:59:02 -0500 Date: Tue, 31 Jan 2006 13:59:00 -0000 From: Daniel Jacobowitz To: Jim Blandy Cc: Eirik Fuller , gdb-patches@sourceware.org Subject: Re: [PATCH] Use mmap for symbol tables Message-ID: <20060131135901.GA1249@nevyn.them.org> Mail-Followup-To: Jim Blandy , Eirik Fuller , gdb-patches@sourceware.org References: <20060129233630.3EFA6690067@ns.hackrat.org> <20060131022330.GA24934@nevyn.them.org> <8f2776cb0601302128t347b161cg26e756501b93ebc1@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8f2776cb0601302128t347b161cg26e756501b93ebc1@mail.gmail.com> User-Agent: Mutt/1.5.8i X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2006-01/txt/msg00489.txt.bz2 On Mon, Jan 30, 2006 at 09:28:06PM -0800, Jim Blandy wrote: > When debug sections have relocations, are they really covered with > relocs, or are the relocs rare? I thought that MAP_PRIVATE was > implemented using copy-on-write pages, so if the relocations are rare, > then MAP_PRIVATE would give you a writeable image that still shared as > much as possible. Covered. There will be one for every reference to .debug_str, .debug_ranges, et cetera. -- Daniel Jacobowitz CodeSourcery