HomeFreeBSD

tunables: ensure tunable and variable have same define gate

Description

tunables: ensure tunable and variable have same define gate

If a variable is only available in the kernel, then the tunable should
also only be available there.

This matters very little so long as we don't have userspace tunables,
but its still good hygeine.

Sponsored-by: https://despairlabs.com/sponsor/
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Reviewed-by: Pavel Snajdr <snajpa@snajpa.net>
Signed-off-by: Rob Norris <robn@despairlabs.com>
Closes #17377

Details

Provenance
rob.norris_klarasystems.comAuthored on Dec 4 2024, 11:27 AM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on May 28 2025, 11:50 PM
Parents
rGd1724b59dc52: tunables: don't assert initialisation in impl getters
Branches
Unknown
Tags
Unknown