From owner-freebsd-current@FreeBSD.ORG Sat Aug 1 02:43:15 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 51CBB106566B; Sat, 1 Aug 2009 02:43:15 +0000 (UTC) (envelope-from giovanni.trematerra@gmail.com) Received: from mail-ew0-f206.google.com (mail-ew0-f206.google.com [209.85.219.206]) by mx1.freebsd.org (Postfix) with ESMTP id ADBB18FC0A; Sat, 1 Aug 2009 02:43:14 +0000 (UTC) (envelope-from giovanni.trematerra@gmail.com) Received: by ewy2 with SMTP id 2so1823481ewy.43 for ; Fri, 31 Jul 2009 19:43:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=E2S4OVQvcaKVEhHFKq1GzslnYtwQQsTN0Ytq/ELBYig=; b=RYMYJHWGGWSfNClWVb+Yt66pUoArh7dg/4rm4Kov+fi9qePkzka8dAJRqSZdC8/4UY rnM1ZH2wq5Xm+cM/PQ8M9A1FgAQuZ9j0v7x8sZZMxI/kc7OkxUnET3IJjujUgJ0veaau 0EiyJMzNLrmIVaRvMwUvvMW5o/MBwHPlpK08M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=NCJW4Y2ypry1ufiPa3NPwhZCYCkwHMa2WOedESzrHvdu6GKXHPenaFDGSh5PUBMPUP SA31eLPbPyuiZrfkz4QLR68rcBb70N8KRsiL/Ba+GSDoLnh8RQhLGDKSo0GbvUMsogJT LRugDyYYHsbhqjKGL3OzV5mcm7wEhl8jQpguw= MIME-Version: 1.0 Received: by 10.216.25.209 with SMTP id z59mr609733wez.204.1249093062399; Fri, 31 Jul 2009 19:17:42 -0700 (PDT) In-Reply-To: <200907311919.26913.hselasky@c2i.net> References: <3bbf2fe10907310759o3be1f565t4122fcd66c4531f4@mail.gmail.com> <200907311818.08481.hselasky@c2i.net> <3bbf2fe10907310934r640350c6n7ea89d3aaf36a05f@mail.gmail.com> <200907311919.26913.hselasky@c2i.net> Date: Sat, 1 Aug 2009 04:17:42 +0200 Message-ID: <4e6cba830907311917j5d3c0eb6u7f7b1099d3acd504@mail.gmail.com> From: Giovanni Trematerra To: freebsd-current@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Attilio Rao , Peter Holm , Hans Petter Selasky Subject: Re: [PATCH] Newbus locking X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Aug 2009 02:43:15 -0000 > On Fri, Jul 31, 2009 at 7:19 PM, Hans Petter Selasky wrote: > > I'm not saying that your approach will not work or that it is wrong. I'm > saying that it is not fast enough. Your patch affects the boottime, in a > negative way. > I tested a patch for a while. I didn't notice any slow down in boot time. Well, I haven't measured it but I can't see any noticeable difference even booting from an USB key. I have to be honest, I don't understand the patch but any comments on performance without an evident profiling seems to me a "premature optimization" that is known to be the root of all devils (D. Knuth) -- Giovanni Trematerra