]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Free microcode memory later.
authorkib <kib@FreeBSD.org>
Fri, 17 May 2019 17:11:01 +0000 (17:11 +0000)
committerkib <kib@FreeBSD.org>
Fri, 17 May 2019 17:11:01 +0000 (17:11 +0000)
commit846a64221bff83fd20eeffdb662c0fb06b36d48e
tree12ca9d6e8112d4088062c70e62d102001c838200
parente8fb590b2b5ee31620b2031e9587dabea9758ef1
Free microcode memory later.

With lockless DI, pmap_remove() requires operational thread lock,
which is initialized at SI_SUB_RUN_QUEUE for thread0.  Move it even
later where APs are started, the moment after which other boot memory
like trampoline stacks is already being freed.

Reported by: gtetlow
Sponsored by: The FreeBSD Foundation
MFC after: 30 days
sys/x86/x86/ucode.c