diff options
author | Ryan Moeller <[email protected]> | 2020-07-23 20:35:34 -0400 |
---|---|---|
committer | GitHub <[email protected]> | 2020-07-23 17:35:34 -0700 |
commit | f7a68f99d07ffb231046d2bae5360b66957ca9a7 (patch) | |
tree | 53c505a255facf8770b71b5442871d7a1c5d23a4 /include/sys/arc_impl.h | |
parent | b197457cd6e7deec0a24dcd435de5c4184399348 (diff) |
FreeBSD: Remove some code duplication in sysctl_os.c
Drop unnecessary redefinition's of several arcstat values.
Put missing extern declaration of arc_no_grow_shift in arc_impl.h.
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Ryan Moeller <[email protected]>
Closes #10609
Diffstat (limited to 'include/sys/arc_impl.h')
-rw-r--r-- | include/sys/arc_impl.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sys/arc_impl.h b/include/sys/arc_impl.h index 1ec4a67d3..eb90d5bc9 100644 --- a/include/sys/arc_impl.h +++ b/include/sys/arc_impl.h @@ -877,6 +877,7 @@ extern arc_stats_t arc_stats; extern hrtime_t arc_growtime; extern boolean_t arc_warm; extern int arc_grow_retry; +extern int arc_no_grow_shift; extern int arc_shrink_shift; extern zthr_t *arc_evict_zthr; extern kmutex_t arc_evict_lock; |