From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19514 invoked by alias); 9 Oct 2011 19:56:11 -0000 Received: (qmail 19487 invoked by uid 22791); 9 Oct 2011 19:56:09 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from one.firstfloor.org (HELO one.firstfloor.org) (213.235.205.2) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 09 Oct 2011 19:55:47 +0000 Received: by one.firstfloor.org (Postfix, from userid 503) id 6228E22C8070; Sun, 9 Oct 2011 21:55:46 +0200 (CEST) From: Andi Kleen To: gcc-patches@gcc.gnu.org Cc: Andi Kleen Subject: [PATCH 2/5] Increase the GGC quite size to 2MB Date: Sun, 09 Oct 2011 19:56:00 -0000 Message-Id: <1318190141-1220-3-git-send-email-andi@firstfloor.org> In-Reply-To: <1318190141-1220-1-git-send-email-andi@firstfloor.org> References: <1318190141-1220-1-git-send-email-andi@firstfloor.org> 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-10/txt/msg00699.txt.bz2 From: Andi Kleen Using 2MB allows modern kernels to use 2MB huge pages on x86. gcc/: 2011-10-08 Andi Kleen * ggc-page.c (GGC_QUIRE_SIZE): Increase to 512 --- gcc/ggc-page.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/gcc/ggc-page.c b/gcc/ggc-page.c index b0b3b3f..1f52b56 100644 --- a/gcc/ggc-page.c +++ b/gcc/ggc-page.c @@ -469,7 +469,7 @@ static struct globals can override this by defining GGC_QUIRE_SIZE explicitly. */ #ifndef GGC_QUIRE_SIZE # ifdef USING_MMAP -# define GGC_QUIRE_SIZE 256 +# define GGC_QUIRE_SIZE 512 /* 2MB for 4K pages */ # else # define GGC_QUIRE_SIZE 16 # endif -- 1.7.5.4