HomeFreeBSD

Lock busdma operations and serialize detach against open/close

Description

Lock busdma operations and serialize detach against open/close

Use sx to allow M_WAITOK allocations (suggested by markj).

admbugs: 782
Reviewed by: markj

(cherry picked from commit 9f011bca829751ed3552ac94fe7c865d75fabfc4)

Details

Provenance
marcelAuthored on Jul 4 2019, 2:51 AM
markjCommitted on Apr 6 2021, 3:20 PM
Parents
rG30b1f8cd1122: Reduce chance of RCU deadlock in the LinuxKPI by implementing the section
Branches
Unknown
Tags
Unknown