svn commit: r275136 - in head/sys: dev/e1000 dev/ixgbe kern sys
Alfred Perlstein
bright at mu.org
Mon Dec 1 16:46:33 UTC 2014
> On Dec 1, 2014, at 8:37 AM, Hans Petter Selasky <hps at selasky.org> wrote:
>
> 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!
I totally understand this. It is in the phabricator review. :)
>
> --HPS
>
More information about the svn-src-all
mailing list