Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Aug 2009 04:17:42 +0200
From:      Giovanni Trematerra <giovanni.trematerra@gmail.com>
To:        freebsd-current@freebsd.org
Cc:        Attilio Rao <attilio@freebsd.org>, Peter Holm <pho@freebsd.org>, Hans Petter Selasky <hselasky@c2i.net>
Subject:   Re: [PATCH] Newbus locking
Message-ID:  <4e6cba830907311917j5d3c0eb6u7f7b1099d3acd504@mail.gmail.com>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
> On Fri, Jul 31, 2009 at 7:19 PM, Hans Petter Selasky<hselasky@c2i.net> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4e6cba830907311917j5d3c0eb6u7f7b1099d3acd504>