svn commit: r275136 - in head/sys: dev/e1000 dev/ixgbe kern sys

Hans Petter Selasky hps at selasky.org
Mon Dec 1 16:37:22 UTC 2014


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


More information about the svn-src-all mailing list