HomeFreeBSD

proc: Add sysctl flag CTLFLAG_TUN to loader tunable

Description

proc: Add sysctl flag CTLFLAG_TUN to loader tunable

The sysctl variable 'kern.kstack_pages' is actually a loader tunable.
Add sysctl flag CTLFLAG_TUN to it so that sysctl -T will report it
correctly.

No functional change intended.

Note that on arm64 the thread0 stack size can not be controlled with it,
kib@ suggested that arm64 maintainers can fix it eventually so let's
enable it also on arm64 right now.

Reviewed by: kib, imp
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D42113

Details

Provenance
zleiAuthored on Oct 9 2023, 10:30 AM
Reviewer
kib
Differential Revision
D42113: Add sysctl flag CTLFLAG_TUN to loader tunables
Parents
rG31b94065300a: buf: Add sysctl flag CTLFLAG_TUN to loader tunable
Branches
Unknown
Tags
Unknown