From owner-svn-src-all@FreeBSD.ORG Mon Dec 1 16:46:33 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 97620BE; Mon, 1 Dec 2014 16:46:33 +0000 (UTC) Received: from elvis.mu.org (elvis.mu.org [IPv6:2001:470:1f05:b76::196]) by mx1.freebsd.org (Postfix) with ESMTP id 7B2A5855; Mon, 1 Dec 2014 16:46:33 +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 EADEE341F850; Mon, 1 Dec 2014 08:46:32 -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: <547C995A.2060005@selasky.org> Date: Mon, 1 Dec 2014 08:46:32 -0800 Content-Transfer-Encoding: quoted-printable Message-Id: References: <201411262019.sAQKJaw4043557@svn.freebsd.org> <39377603.10OyiSzjWY@ralph.baldwin.cx> <872C180A-6ADD-469F-A801-3728DF134EEC@mu.org> <547C88A9.1070007@selasky.org> <5E1B6CD4-BBA7-4AD0-9982-E981015AF138@mu.org> <547C8A9C.4080603@selasky.org> <547C8CA2.8040305@selasky.org> <547C8DEF.5020809@selasky.org> <547C974A.9050302@selasky.org> <4CE4C10D-93B0-4E27-878D-34C0A7CF3C94@mu.org> <547C995A.2060005@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 16:46:33 -0000 > On Dec 1, 2014, at 8:37 AM, Hans Petter Selasky wrote: >=20 > Hi, >=20 > I think you maybe missed a point .... >=20 >> On 12/01/14 17:31, Alfred Perlstein wrote: >>=20 >> Yes that is why it is being done by hand in the probe routine. I think pr= oper thing might be a way to sort out how to get tunables to run at a driver= load event? Is that possible? >=20 > All sysctls are tried init when they are created, both so-called "static" a= nd "dynamic" ones. >=20 > If the sysctl is created inside the probe routine and has the tunable flag= set, it will get init before the creation is complete, if present in the bo= ot environment. >=20 > If the sysctl is of a "static" kind, it will be created and initialized wh= en SI_SUB_KMEM is executing! I totally understand this. It is in the phabricator review. :) >=20 > --HPS >=20