aboutsummaryrefslogtreecommitdiffstats
path: root/man/man4/spl.4
diff options
context:
space:
mode:
authorAlexander Motin <mav@FreeBSD.org>2021-07-20 10:13:21 -0400
committerGitHub <noreply@github.com>2021-07-20 08:13:21 -0600
commit8172df643b6cdc7fe233b18c8d8e9b29455ae9f1 (patch)
tree2422fed87acd136b7b63b708f5d06ad0e1b670b9 /man/man4/spl.4
parente04210035eba31c40978658b8d2fa7f823a9f7de (diff)
Minor ARC optimizations
Remove unneeded global, practically constant, state pointer variables (arc_anon, arc_mru, etc.), replacing them with macros of real state variables addresses (&ARC_anon, &ARC_mru, etc.). Change ARC_EVICT_ALL from -1ULL to UINT64_MAX, not requiring special handling in inner loop of ARC reclamation. Respectively change bytes argument of arc_evict_state() from int64_t to uint64_t. Reviewed-by: Matthew Ahrens <mahrens@delphix.com> Reviewed-by: Mark Maybee <mark.maybee@delphix.com> Reviewed-by: Ryan Moeller <ryan@iXsystems.com> Signed-off-by: Alexander Motin <mav@FreeBSD.org> Closes #12348
Diffstat (limited to 'man/man4/spl.4')
0 files changed, 0 insertions, 0 deletions