]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r364019:
authorHans Petter Selasky <hselasky@FreeBSD.org>
Wed, 19 Aug 2020 12:23:05 +0000 (12:23 +0000)
committerHans Petter Selasky <hselasky@FreeBSD.org>
Wed, 19 Aug 2020 12:23:05 +0000 (12:23 +0000)
commit061e0cc7a6f17d1ec4bc6a0d5656ccabe5adf711
tree1e595c79befb212ac39dc055ea8104a439eb85b1
parentb4fb7a07344a99e53611fd4b7b2fa1cf49185a03
MFC r364019:
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
Sponsored by: Mellanox Technologies
sys/kern/subr_epoch.c