HomeFreeBSD

Defer ACPI taskqueue creation to SI_SUB_KICK_SCHEDULER.

Description

Defer ACPI taskqueue creation to SI_SUB_KICK_SCHEDULER.

This addresses a deadlock during boot when EARLY_AP_STARTUP is configured:
a taskqueue thread may call pause() with an ACPI mutex held, and thread0
may block on this mutex before configuring the eventtimer. In this case
the taskqueue thread will sleep forever waiting for its callout to fire.

PR: 220277
Submitted by: jhb
MFC after: 3 days

Details

Provenance
markjAuthored on
Parents
rS320689: MFS r320684: MFC r320451 (by cem):
Branches
Unknown
Tags
Unknown