From owner-cvs-src@FreeBSD.ORG Mon Dec 4 22:46:28 2006 Return-Path: X-Original-To: cvs-src@freebsd.org Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1411016A516 for ; Mon, 4 Dec 2006 22:46:28 +0000 (UTC) (envelope-from kip.macy@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.172]) by mx1.FreeBSD.org (Postfix) with ESMTP id 075B543DFF for ; Mon, 4 Dec 2006 22:39:55 +0000 (GMT) (envelope-from kip.macy@gmail.com) Received: by ug-out-1314.google.com with SMTP id o2so2801656uge for ; Mon, 04 Dec 2006 14:40:29 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=XaEiRvWHYfYkchu/iiXajZ0Myl+1+zY+WFS0Dkf7btWmqljOwqybPehJZU7K9w8GCYX/rDazj3CcDLYCFeLyIg20gR4Z3V9tJPveQs5Uwbf6nDLbmKtatsyr01s8n2uBdF0lToCixLrRGabHvb3m4FAUUeyHn3AxZv/Nh8eTGrY= Received: by 10.82.142.9 with SMTP id p9mr1596038bud.1165271605136; Mon, 04 Dec 2006 14:33:25 -0800 (PST) Received: by 10.82.191.20 with HTTP; Mon, 4 Dec 2006 14:33:24 -0800 (PST) Message-ID: Date: Mon, 4 Dec 2006 14:33:24 -0800 From: "Kip Macy" To: "Marius Strobl" In-Reply-To: <20061204212233.GA38633@alchemy.franken.de> MIME-Version: 1.0 References: <200611262316.kAQNGk3e071929@repoman.freebsd.org> <20061204212233.GA38633@alchemy.franken.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: cvs-src@freebsd.org, src-committers@freebsd.org, Kip Macy , cvs-all@freebsd.org Subject: Re: cvs commit: src/sys/conf kern.mk X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Dec 2006 22:46:28 -0000 I haven't talked to Sam, I had forgotten about that - this will only break ABI compat on -HEAD. "-mcmodel=medlow" was almost certainly never needed, its an optimization that reduces then number of instructions needed to load a constant by assuming that the constant is <=32 bits. Loading a 32 bit constant is 3 instructions, loading a 64-bit constant is 7 :-(. Considering the other performance issues that sparc64 has, its safe to say that the extra overhead is in the noise. -Kip On 12/4/06, Marius Strobl wrote: > > On Sun, Nov 26, 2006 at 11:16:46PM +0000, Kip Macy wrote: > > kmacy 2006-11-26 23:16:46 UTC > > > > FreeBSD src repository > > > > Modified files: > > sys/conf kern.mk > > Log: > > Fix module loading for sparc on machines with greater than 1GB of RAM > > > > Hi Kip, > > could you please update the comment above the line you changed > as appropriate? > Do you have an idea why medlow no longer is crucial in order > to get a working kernel? > Did you talk to sam@ regarding providing a new sparc64 HAL BLOB > (according to sys/contrib/dev/ath/public/sparc64-be-elf.inc it > was built with -mcmodel=medlow, too)? > > Marius > >