]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add full support support for dynamic allocation and freeing of epoch's.
authorHans Petter Selasky <hselasky@FreeBSD.org>
Fri, 7 Aug 2020 15:32:42 +0000 (15:32 +0000)
committerHans Petter Selasky <hselasky@FreeBSD.org>
Fri, 7 Aug 2020 15:32:42 +0000 (15:32 +0000)
commit826c0793734aa74f0f71f85662e42e8635afbd2c
treed4976464bbf68ad40e8e9e31113414502233b3d6
parenta9839c4aee0f04590ce4e45a132992bf9035fe8d
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