HomeFreeBSD

Implement Linux module parameters as read-only tunable SYSCTLs.

Description

Implement Linux module parameters as read-only tunable SYSCTLs.

Bool module parameters are no longer supported, because there is no
equivalent in FreeBSD.

There are two macros available which control the behaviour of the
LinuxKPI module parameters:

  • LINUXKPI_PARAM_PARENT allows the consumer to set the SYSCTL parent

where the modules parameters will be created.

  • LINUXKPI_PARAM_PREFIX defines a parameter name prefix, which is added to all created module parameters.

Sponsored by: Mellanox Technologies
MFC after: 1 week

Details

Provenance
hselaskyAuthored on
Parents
rS300676: Prepare for activation of LinuxKPI module parameters as read-only
Branches
Unknown
Tags
Unknown