From owner-freebsd-sparc64@FreeBSD.ORG Sun Sep 15 00:06:20 2013 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 4A916FCD; Sun, 15 Sep 2013 00:06:20 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-wg0-x22e.google.com (mail-wg0-x22e.google.com [IPv6:2a00:1450:400c:c00::22e]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 640212361; Sun, 15 Sep 2013 00:06:19 +0000 (UTC) Received: by mail-wg0-f46.google.com with SMTP id k14so2414222wgh.25 for ; Sat, 14 Sep 2013 17:06:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=E0XxjlbLMKaX/CHLQC0PcQA3kTJ4rWjsReuwJ4hiMbQ=; b=zsm/YrxRWCPX7SOVlwgHwDfM6bIRNrty3aNInkXNzzd3qxrqBAQ5nQJnaEM50IqLvn ZV+dafOybgH2J08doWnjmwg48OuUl4tZ7w+bQMsHB77+4uXV8BkXSZLpP3skG0Mpzcux iSBjZOgkZKSyZlFX4p4d3adtIOBuFjHie7ZPghbeFZzrRWQGZgJb0eqgUCMecMyhIRLc F74AIAMI8p+6qsjNUkHNU6WYthQJM7xXPDdFRq4vCC/7FKuNpGaq2R7ssO2cAgbi8kwK utodiKuAhTv/dEvvDnPep/3Pq0SdR3X7hEYL5f+/P0jBgOZOCLBr6EQGmcaIbYo5o0s0 uwYw== MIME-Version: 1.0 X-Received: by 10.180.93.104 with SMTP id ct8mr8016029wib.0.1379203577684; Sat, 14 Sep 2013 17:06:17 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.216.73.133 with HTTP; Sat, 14 Sep 2013 17:06:17 -0700 (PDT) In-Reply-To: References: <522CC7E0.9060508@freebsd.org> <5231D8A6.9080501@freebsd.org> <20130914133155.GA32845@alchemy.franken.de> <52346D71.4080407@freebsd.org> <1379173405.1197.7.camel@revolution.hippie.lan> <20130914172735.GX68682@funkthat.com> <1379181341.1197.26.camel@revolution.hippie.lan> Date: Sat, 14 Sep 2013 17:06:17 -0700 X-Google-Sender-Auth: 3ZjL3eBGhfUSr1AOW3nlcyZ-Clg Message-ID: Subject: Re: Patch for Cross-Reference Phandles From: Adrian Chadd To: Eitan Adler Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-sparc64 , "freebsd-arm@freebsd.org" , Ian Lepore , FreeBSD PowerPC ML X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Sep 2013 00:06:20 -0000 On 14 September 2013 17:04, Eitan Adler wrote: > With an explicit zeroing: > > text data bss dec hex filename > 1572 484 16 2072 818 a.out > > Without: > > text data bss dec hex filename > 1572 484 16 2072 818 a.out > This is exactly the opposite of what I see with kernel code though. Eg, kern_umtx.c and it's very large up-front allocated array. Same as the upfront array of KTR entries for early boot tracing. Try bumping it to something stupid like 65536 and retest? Is this a gcc-4.2 versus clang difference? Thanks, -adrian