summaryrefslogtreecommitdiffstats
path: root/LICENSE
diff options
context:
space:
mode:
authorAlexander Motin <[email protected]>2020-02-13 14:20:42 -0500
committerGitHub <[email protected]>2020-02-13 11:20:42 -0800
commit465e4e795ee3cbdc5de862b26d81b2f1116733df (patch)
tree0848a222d5ae27a1a623856540aca148ff3c031a /LICENSE
parent610eec452d723bc53ce531095aff9577a2e0dc93 (diff)
Remove duplicate dbufs accounting
Since AVL already has embedded element counter, use dn_dbufs_count only for dbufs not counted there (bonus buffers) and just add them. This removes two atomics per dbuf life cycle. According to profiler it reduces time spent by dbuf_destroy() inside bottlenecked dbuf_evict_thread() from 13.36% to 9.20% of the core. Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: Matt Ahrens <[email protected]> Signed-off-by: Alexander Motin <[email protected]> Sponsored-By: iXsystems, Inc. Closes #9949
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions