HomeFreeBSD

smartpqi: Allocate DMA memory NOWAIT

Description

smartpqi: Allocate DMA memory NOWAIT

We're not allowed to wait in this allocation path, so allocate the
memory NOWAIT instead of WAITOK. The code already copes with the
failures that may result, so no additional code is needed.

PR: 263008
Reviewed by: markj, Scott Benesh at Microsemi, imp
Differential Revision: https://reviews.freebsd.org/D35601

Details

Provenance
yuri_aetern.orgAuthored on Jun 27 2022, 3:48 PM
impCommitted on Jun 27 2022, 5:06 PM
Reviewer
markj
Differential Revision
D35601: smartpqi: use BUS_DMA_NOWAIT to prevent panic
Parents
rG121ecca0d82b: sctp: add KASSERTs to ensure correct handling of listeners
Branches
Unknown
Tags
Unknown