Unmap and free memory when we shutdown rtkit. This fixes an issue where
authorkettenis <kettenis@openbsd.org>
Fri, 11 Nov 2022 11:45:10 +0000 (11:45 +0000)
committerkettenis <kettenis@openbsd.org>
Fri, 11 Nov 2022 11:45:10 +0000 (11:45 +0000)
commitea87a8bf468d59502d176fee1979ff5c974b6942
tree5b5ce6dca24e1606816e2d3040b51235332cb771
parent301360a69adbf604aaf5167612e06af89036621c
Unmap and free memory when we shutdown rtkit.  This fixes an issue where
we run out of SART entries after a few suspend/resume cycles.

ok patrick@
sys/arch/arm64/dev/aplns.c
sys/arch/arm64/dev/aplsart.c
sys/arch/arm64/dev/rtkit.c
sys/arch/arm64/dev/rtkit.h