HomeFreeBSD

Use M_NOWAIT when allocating memory for the ACPI wakeup handler.

Description

Use M_NOWAIT when allocating memory for the ACPI wakeup handler.

If the allocation attempt fails, we may otherwise VM_WAIT after a failed
attempt to reclaim contiguous memory in the requested range. After r297466,
this results in the thread going to sleep, causing a hang during boot.

Reviewed by: jkim, kib
Approved by: re (gjb)
Sponsored by: EMC / Isilon Storage Division
Differential Revision: https://reviews.freebsd.org/D6945

Details

Provenance
markjAuthored on
Reviewer
jkim
Differential Revision
D6945: Use M_NOWAIT when allocating the ACPI wakeup handler
Parents
rS302146: makeroot: zero out subsecond component of time= keywords
Branches
Unknown
Tags
Unknown