Page MenuHomeFreeBSD

Allow to fetch tunable variable introduced in r319896 from getenv()

Authored by zbb on Jun 16 2017, 1:50 PM.



Since CTLFLAG_NOFETCH flag doesn't allow to fetch the value from
the configuration file there is no sense for either the flag or
variable. Therefore remove NOFETCH flag.

Diff Detail

rS FreeBSD src repository - subversion
Lint Skipped
Unit Tests Skipped
Build Status
Buildable 9934

Event Timeline

This revision is now accepted and ready to land.Jun 16 2017, 4:10 PM

Oups, my bad, sorry.
We cannot use standard way for tunable sysctl initialization here. SYSINIT machinery is executed far after cpuinfo_init() so boot CPU doesn't get right quirks.
Anyway, I submitted fix for this in r320054.
So again, sorry for troubles...

I checked, and indeed r320054 fixes problems with obtaing the variables, so this patch is no longer needed.