diff options
author | Ryan Moeller <[email protected]> | 2022-08-09 09:05:47 +0000 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2022-09-02 13:26:24 -0700 |
commit | 7bb707ffafbea79c5b2f9ea24959825a3c4b8802 (patch) | |
tree | c2a414731d592ee4f584eac327e132e1c1d69e72 /config/kernel-make-request-fn.m4 | |
parent | 4723eba8c0af10fc25d9203ffa0cd4499b4a875d (diff) |
FreeBSD: Organize sysctls
FreeBSD had a few platform-specific ARC tunables in the wrong place:
- Move FreeBSD-specifc ARC tunables into the same vfs.zfs.arc node as
the rest of the ARC tunables.
- Move the handlers from arc_os.c to sysctl_os.c and add compat sysctls
for the legacy names.
While here, some additional clean up:
- Most handlers are specific to a particular variable and don't need a
pointer passed through the args.
- Group blocks of related variables, handlers, and sysctl declarations
into logical sections.
- Match variable types for temporaries in handlers with the type of the
global variable.
- Remove leftover comments.
Reviewed-by: Alexander Motin <[email protected]>
Signed-off-by: Ryan Moeller <[email protected]>
Closes #13756
Diffstat (limited to 'config/kernel-make-request-fn.m4')
0 files changed, 0 insertions, 0 deletions