From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2637 invoked by alias); 17 Sep 2011 18:49:33 -0000 Received: (qmail 2629 invoked by uid 22791); 17 Sep 2011 18:49:31 -0000 X-SWARE-Spam-Status: No, hits=-6.7 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,SPF_HELO_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 17 Sep 2011 18:49:15 +0000 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p8HInEZh002251 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 17 Sep 2011 14:49:14 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id p8HInDhA025052; Sat, 17 Sep 2011 14:49:14 -0400 Received: from [0.0.0.0] (ovpn-113-36.phx2.redhat.com [10.3.113.36]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id p8HInCYc027542; Sat, 17 Sep 2011 14:49:12 -0400 Message-ID: <4E74EBA7.1010505@redhat.com> Date: Sat, 17 Sep 2011 22:22:00 -0000 From: Jason Merrill User-Agent: Mozilla/5.0 (X11; Linux i686; rv:6.0.2) Gecko/20110906 Thunderbird/6.0.2 MIME-Version: 1.0 To: Dodji Seketeli CC: gcc-patches@gcc.gnu.org, tromey@redhat.com, Laurynas Biveinis Subject: Re: [PATCH 7/7] Reduce memory waste due to non-power-of-2 allocs References: <1291979498-1604-1-git-send-email-dodji@redhat.com> <411c73e26bd46ba176c22962851cacf21b013be5.1310824121.git.dodji@redhat.com> <4E6E825F.8020408@redhat.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2011-09/txt/msg01027.txt.bz2 On 09/17/2011 07:08 AM, Dodji Seketeli wrote: > OK, so the patch below extracts a public ggc_alloced_size_for_request > function from the different implementations of the ggc allocator's > interface, and lets new_linemap use that. Maybe "ggc_round_alloc_size"? OK with that change if nobody else has comments this week. Jason