1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-14 10:09:48 +00:00
freebsd/sys/cddl/contrib/opensolaris
Alexander Motin 419110374a Avoid extra taskq_dispatch() calls by DMU.
DMU sync code calls taskq_dispatch() for each sublist of os_dirty_dnodes
and os_synced_dnodes.  Since the number of sublists by default is equal
to number of CPUs, it will dispatch equal, potentially large, number of
tasks, waking up many CPUs to handle them, even if only one or few of
sublists actually have any work to do.

This change adds check for empty sublists to avoid this.
2019-06-25 18:35:23 +00:00
..
common MFV/ZoL: Implement large_dnode pool feature 2018-08-12 00:45:53 +00:00
uts Avoid extra taskq_dispatch() calls by DMU. 2019-06-25 18:35:23 +00:00
OPENSOLARIS.LICENSE