]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add full support support for dynamic allocation and freeing of epoch's.
authorhselasky <hselasky@FreeBSD.org>
Fri, 7 Aug 2020 15:32:42 +0000 (15:32 +0000)
committerhselasky <hselasky@FreeBSD.org>
Fri, 7 Aug 2020 15:32:42 +0000 (15:32 +0000)
commit574fe3b51c56cfcc0e1c10fa8ef5cd0dd8732e99
treed4976464bbf68ad40e8e9e31113414502233b3d6
parent164476dbe82b09e0d74bd22030dc7c64a52371ed
Add full support support for dynamic allocation and freeing of epoch's.

Make sure to reclaim epoch structures when they are freed to support
dynamic allocation and freeing of epoch structures.

While at it, move the 64 supported epoch control structures to the
static memory domain. This overall simplifies the management and
debugging of system epoch's.

Reviewed by: kib, markj
Differential Revision: https://reviews.freebsd.org/D25960
MFC after: 1 week
Sponsored by: Mellanox Technologies
sys/kern/subr_epoch.c