]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Convert cryptostats to a counter_u64 array.
authorMark Johnston <markj@FreeBSD.org>
Tue, 30 Jun 2020 22:01:21 +0000 (22:01 +0000)
committerMark Johnston <markj@FreeBSD.org>
Tue, 30 Jun 2020 22:01:21 +0000 (22:01 +0000)
commit7290cb47fced28b5d0654cd1de7cc721e214ea32
treee468352f91e57f0c515ed585e7f2bc97b4fe3760
parent7a3f60e7f571204798c2b537e128e546f31497b9
Convert cryptostats to a counter_u64 array.

The global counters were not SMP-friendly.  Use per-CPU counters
instead.

Reviewed by: jhb
Sponsored by: Rubicon Communications, LLC (Netgate)
Differential Revision: https://reviews.freebsd.org/D25466
sys/opencrypto/crypto.c
sys/opencrypto/cryptodev.h