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

Hans Petter Selasky hps at selasky.org
Mon Dec 1 15:26:09 UTC 2014


On 12/01/14 16:19, Alfred Perlstein wrote:
> It makes little sense to have a rw sysctl that only takes effect "some times". This violates POLA at the expense of making code appear cleaner. Expectation is that writable sysctls take

Hi,

I think you are missing a new feature in 11-current, that if you add 
"CTLFLAG_TUN" to even dynamic sysctls, they get initialized from the 
enviroment, if any. That way you can just skip the TUNABLE_INT_FETCH() 
stuff!

--HPS


More information about the svn-src-head mailing list