]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Free microcode memory later.
authorKonstantin Belousov <kib@FreeBSD.org>
Fri, 17 May 2019 17:11:01 +0000 (17:11 +0000)
committerKonstantin Belousov <kib@FreeBSD.org>
Fri, 17 May 2019 17:11:01 +0000 (17:11 +0000)
commit8f7f38457f940798c149ae40b73e0d20672812de
tree12ca9d6e8112d4088062c70e62d102001c838200
parentec55b6c5f513c82e9c5f45aa2fd25f439f9c80d2
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