From owner-svn-src-all@FreeBSD.ORG Mon Dec 1 15:29:29 2014 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B4FB4671; Mon, 1 Dec 2014 15:29:29 +0000 (UTC) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 91625CFA; Mon, 1 Dec 2014 15:29:29 +0000 (UTC) Received: from [100.93.87.91] (184.sub-70-197-13.myvzw.com [70.197.13.184]) by elvis.mu.org (Postfix) with ESMTPSA id 2D045341F872; Mon, 1 Dec 2014 07:29:29 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (1.0) Subject: Re: svn commit: r275136 - in head/sys: dev/e1000 dev/ixgbe kern sys From: Alfred Perlstein X-Mailer: iPhone Mail (12B436) In-Reply-To: <547C88A9.1070007@selasky.org> Date: Mon, 1 Dec 2014 07:29:28 -0800 Content-Transfer-Encoding: quoted-printable Message-Id: <5E1B6CD4-BBA7-4AD0-9982-E981015AF138@mu.org> References: <201411262019.sAQKJaw4043557@svn.freebsd.org> <39377603.10OyiSzjWY@ralph.baldwin.cx> <872C180A-6ADD-469F-A801-3728DF134EEC@mu.org> <547C88A9.1070007@selasky.org> To: Hans Petter Selasky Cc: "svn-src-head@freebsd.org" , "svn-src-all@freebsd.org" , Alfred Perlstein , "src-committers@freebsd.org" , John Baldwin X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Dec 2014 15:29:29 -0000 > On Dec 1, 2014, at 7:26 AM, Hans Petter Selasky wrote: >=20 >> On 12/01/14 16:19, Alfred Perlstein wrote: >> It makes little sense to have a rw sysctl that only takes effect "some ti= mes". This violates POLA at the expense of making code appear cleaner. Expec= tation is that writable sysctls take >=20 > Hi, >=20 > I think you are missing a new feature in 11-current, that if you add "CTLFL= AG_TUN" to even dynamic sysctls, they get initialized from the enviroment, i= f any. That way you can just skip the TUNABLE_INT_FETCH() stuff! >=20 Ok I can probably switch to that.=20 Any objection if I mfc this feature to -stable if it does what I need? > --HPS >=20