From owner-freebsd-rc@FreeBSD.ORG Sat Jan 14 00:49:53 2012 Return-Path: Delivered-To: freebsd-rc@FreeBSD.org Received: from mx2.freebsd.org (mx2.freebsd.org [IPv6:2001:4f8:fff6::35]) by hub.freebsd.org (Postfix) with ESMTP id 6B0CB1065673; Sat, 14 Jan 2012 00:49:53 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from 172-17-198-245.globalsuite.net (hub.freebsd.org [IPv6:2001:4f8:fff6::36]) by mx2.freebsd.org (Postfix) with ESMTP id B396D150E42; Sat, 14 Jan 2012 00:49:52 +0000 (UTC) Message-ID: <4F10D130.8080808@FreeBSD.org> Date: Fri, 13 Jan 2012 16:49:52 -0800 From: Doug Barton Organization: http://SupersetSolutions.com/ User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:9.0) Gecko/20111222 Thunderbird/9.0 MIME-Version: 1.0 To: Hiroki Sato References: <20120109.223510.1979757999064039809.hrs@allbsd.org> <4F0FFFF7.4090105@FreeBSD.org> <20120113141058.GE1662@garage.freebsd.pl> <20120114.093209.917724318321412912.hrs@allbsd.org> In-Reply-To: <20120114.093209.917724318321412912.hrs@allbsd.org> X-Enigmail-Version: undefined OpenPGP: id=1A1ABC84 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-rc@FreeBSD.org, pjd@FreeBSD.org Subject: Re: Making use of set_rcvar. X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Jan 2012 00:49:53 -0000 On 01/13/2012 16:32, Hiroki Sato wrote: > And I do not think it is a good idea to commit something related to > this topic while the discussion is ongoing. > > We have reached a consensus that `set_rcvar` is expensive, but for > whether using literal or variable we haven't. Quite frankly I'm not interested in the consensus at this point. You and others have brought up several justifications for the way you want to do it, and I've systematically pointed out that they're all wrong. "Consensus" doesn't mean something is right, it just means it's the least objectionable option, which is a terrible way to run a railroad. Chris was right that there is absolutely no question that not having to dereference the variable is faster. How much faster really isn't the point. Every little bit helps, especially on embedded/slower systems. So just relax, stop trying to make this a pissing contest, and focus your attention on something useful, like fixing openbgpd and TCP_SIGNATURE. :) Doug -- You can observe a lot just by watching. -- Yogi Berra Breadth of IT experience, and depth of knowledge in the DNS. Yours for the right price. :) http://SupersetSolutions.com/