Re: git: 9d6eb30abb29 - stable/12 - x86: Add sysctl flag CTLFLAG_TUN to loader tunables

From: Zhenlei Huang <zlei_at_FreeBSD.org>
Date: Tue, 24 Oct 2023 07:02:23 UTC

> On Oct 12, 2023, at 5:40 PM, Zhenlei Huang <zlei@FreeBSD.org> wrote:
> 
> 
> 
>> On Oct 12, 2023, at 3:37 PM, Dewayne Geraghty <dewaynegeraghty@gmail.com> wrote:
>> 
>> Thank-you so much for attending to AND correcting some of the weird anomalies.  Perhaps one day we can rely upon sysctl -aT and sysctl -aW to be meaningful again.
>> On 12.4S, 
>> A=`sysctl -a|wc -l`; T=`sysctl -aT|wc -l`; W=`sysctl -aW|wc -l`; O=`sysctl -ao|wc -l`;printf "Loadable=%d\tWriteable=%d\tStatistical=%d\tOpaque=%d\n" $T $W $(($A - $T - $W)) $(($O - $A))
>> Loadable=533    Writeable=1347  Statistical=2560        Opaque=50
>> 
>> Kind regards, Dewayne.
>> PS I'll refrain from mentioning the need for meaningful descriptions that provide a sense of how something can be "tuned".
>> 
>> 
> 
> 
> There're really too too many tunables to check, I'm currently mainly focusing on platform independent part.

Done!

> 
> The next should be tier 1 , then tier 2.

Done!

Also note kib@ pointed out that there're some tunables for field debugging only, not much useful to expose them as sysctl MIBs. 

> 
> There're also many tunables in device drivers, there will be trouble to check and fix them all as I believe a runtime test is mandatory 
> but that is basically impossible. Hope there're only little to be fixed.

I'm going to fix bugs related to net stack, and these are left unchanged.  I'd glad to do if they are strongly demanded.

> 
> Best regards,
> Zhenlei
>