]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
arm: hide busdma statistics behind ifdef ARM_BUSDMA_MAPLOAD_STATS
authorMateusz Guzik <mjg@FreeBSD.org>
Wed, 21 Jul 2021 03:34:32 +0000 (05:34 +0200)
committerMateusz Guzik <mjg@FreeBSD.org>
Mon, 23 Aug 2021 13:56:20 +0000 (13:56 +0000)
commitba32d146077e187464648456a516041b02c1a4ce
tree20ce6647899dff425be8eeba4bd880e7da701f39
parentf978fe565e61b0f76ad60fa53b8a3476e17d0f84
arm: hide busdma statistics behind ifdef ARM_BUSDMA_MAPLOAD_STATS

Stat collection using counter(9) is quite expensive on this platform and
these counters are normally not needed.

In particular we see about 1.5% bump in packet rate using Cortex-A9

Reviewed by: ian
Sponsored by: Rubicon Communications, LLC ("Netgate")
Different Revision: https://reviews.freebsd.org/D31592

(cherry picked from commit aec8ad8a9e6aba2d73c98bd41f2994744aae3d01)
sys/arm/arm/busdma_machdep-v6.c