Files
mirror_zfs/module
Alexander Motin 465e4e795e 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 <behlendorf1@llnl.gov>
Reviewed-by: Matt Ahrens <matt@delphix.com>
Signed-off-by: Alexander Motin <mav@FreeBSD.org>
Sponsored-By: iXsystems, Inc.
Closes #9949
2020-02-13 11:20:42 -08:00
..
2019-11-01 10:41:03 -07:00
2020-02-10 12:59:50 -08:00
2019-11-01 10:41:03 -07:00
2020-02-11 13:19:12 -08:00
2020-02-13 11:20:42 -08:00
2019-12-02 13:23:47 -08:00