From owner-freebsd-hackers Tue Aug 6 14:56:56 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 08C6637B400 for ; Tue, 6 Aug 2002 14:56:55 -0700 (PDT) Received: from falcon.mail.pas.earthlink.net (falcon.mail.pas.earthlink.net [207.217.120.74]) by mx1.FreeBSD.org (Postfix) with ESMTP id 679E543E72 for ; Tue, 6 Aug 2002 14:56:54 -0700 (PDT) (envelope-from tlambert2@mindspring.com) Received: from pool0191.cvx22-bradley.dialup.earthlink.net ([209.179.198.191] helo=mindspring.com) by falcon.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 17cCJj-00004L-00; Tue, 06 Aug 2002 14:56:40 -0700 Message-ID: <3D5045E5.A0EB74F2@mindspring.com> Date: Tue, 06 Aug 2002 14:55:49 -0700 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Dan Nelson Cc: Darren Pilgrim , Jason Andresen , Dmitry Morozovsky , hackers@FreeBSD.ORG Subject: Re: -fomit-frame-pointer for the world build References: <20020802212841.R58905-100000@woozle.rinet.ru> <3D4AC526.4CD399B3@mindspring.com> <3D4C8464.A2F4775A@pantherdragon.org> <3D4CC81F.94526C8A@mindspring.com> <3D4EA466.C1289F0F@mitre.org> <3D4EF091.EA1C91D3@pantherdragon.org> <3D4F0A5F.9B76573F@mindspring.com> <3D4F58B2.E58C2865@pantherdragon.org> <3D4F751E.1A5C1327@mindspring.com> <20020806141548.GB78723@dan.emsphone.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Dan Nelson wrote: > > I don't know. I don't think anyone has spent the effort on an audit, > > just so they could turn on an optimization that is only going to > > impact function call overhead, mostly in poorly written programs that > > have a high "calling functions vs. doing real work" ratio. 8-). > > I thought the main thing you got out of -fomit-frame-pointer was a free > register, which is a scarce commodity on x86. Most people don't use huge numbers of variables in their fnctions when writing kernel code, since there's only ~5K of stack. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message