Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 01 Dec 2014 17:37:46 +0100
From:      Hans Petter Selasky <hps@selasky.org>
To:        Alfred Perlstein <bright@mu.org>
Cc:        "svn-src-head@freebsd.org" <svn-src-head@freebsd.org>, "svn-src-all@freebsd.org" <svn-src-all@freebsd.org>, Alfred Perlstein <alfred@freebsd.org>, "src-committers@freebsd.org" <src-committers@freebsd.org>, John Baldwin <jhb@freebsd.org>
Subject:   Re: svn commit: r275136 - in head/sys: dev/e1000 dev/ixgbe kern sys
Message-ID:  <547C995A.2060005@selasky.org>
In-Reply-To: <4CE4C10D-93B0-4E27-878D-34C0A7CF3C94@mu.org>
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> <F621EBD1-C330-456A-B130-A2F46B5F8355@mu.org> <547C8CA2.8040305@selasky.org> <EB6CB885-C5B2-4D7C-A502-18A4E8F5EF40@mu.org> <547C8DEF.5020809@selasky.org> <EA71D8ED-A7C6-4570-B889-30C741EA1E0F@mu.org> <547C974A.9050302@selasky.org> <4CE4C10D-93B0-4E27-878D-34C0A7CF3C94@mu.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

I think you maybe missed a point ....

On 12/01/14 17:31, Alfred Perlstein wrote:
>
> Yes that is why it is being done by hand in the probe routine. I think proper thing might be a way to sort out how to get tunables to run at a driver load event?  Is that possible?

All sysctls are tried init when they are created, both so-called 
"static" and "dynamic" ones.

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 boot environment.

If the sysctl is of a "static" kind, it will be created and initialized 
when SI_SUB_KMEM is executing!

--HPS



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