From owner-cvs-src@FreeBSD.ORG Wed Jun 13 06:37:57 2007 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 7821116A468 for ; Wed, 13 Jun 2007 06:37:57 +0000 (UTC) (envelope-from kip.macy@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.175]) by mx1.freebsd.org (Postfix) with ESMTP id 0FAF813C483 for ; Wed, 13 Jun 2007 06:37:56 +0000 (UTC) (envelope-from kip.macy@gmail.com) Received: by ug-out-1314.google.com with SMTP id u2so358233uge for ; Tue, 12 Jun 2007 23:37:56 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=CSVZlArimIXKNqYpfNJ+inEHFv2MrxSqUovNKDVT39833kSiXJpqubDRNrjaK3oWvcTrRDgp/Kp0tfkFCgnUun8SFVt9VyaHs+HPBkgca0hRBBadPSk8oG/J/S6i6iq7Ee8BnwRnXfIJn6bgMhFBdhWHuzEY8VqLZTlBXc5Wtvg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Jtwp8mZzETBGaGe2t0lMi3kcuBYNKPjmOIXguMTf52Tl7MLDuQzo0XKH5hTu3CvH3jBLJWoW2XMh6woPX0nQUYWLNczvZ9+zfvMKgVuPbcpPWO7ShU4DRKm3gB+BwhR7OBNbjE1wSb49/iTfNIsl+CBc5kRn2Wiv+bkEXmg0W8E= Received: by 10.78.157.19 with SMTP id f19mr73803hue.1181716674950; Tue, 12 Jun 2007 23:37:54 -0700 (PDT) Received: by 10.78.162.18 with HTTP; Tue, 12 Jun 2007 23:37:49 -0700 (PDT) Message-ID: Date: Tue, 12 Jun 2007 23:37:49 -0700 From: "Kip Macy" To: "Bruce Evans" In-Reply-To: <200706130617.l5D6HncF038605@repoman.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200706130617.l5D6HncF038605@repoman.freebsd.org> Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/sys/libkern mcount.c 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: Wed, 13 Jun 2007 06:37:57 -0000 On 6/12/07, Bruce Evans wrote: > bde 2007-06-13 06:17:48 UTC > > FreeBSD src repository > > Modified files: > sys/libkern mcount.c > Log: > Unbreak high resolution profiling a little: use dummy asms to prevent > timing loops being optimized away. > > Once apon a time, gcc promised not to optimize away timing loops, but > gcc started optimizing away the call to a null function in the timing > loop here some time between gcc-3.3.3 and gcc-3.4.6, and it started > optimizing away the timing loop itself some time between gcc-3.4.6 > and gcc-4.2. Will this fix the hang on boot that I saw earlier today? -Kip