Page MenuHomeFreeBSD

snd_hdsp*: malloc(9) with M_WAITOK
ClosedPublic

Authored by christos on Aug 21 2026, 12:47 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Sep 20, 1:28 AM
Unknown Object (File)
Sat, Sep 19, 4:03 PM
Unknown Object (File)
Tue, Sep 15, 4:58 PM
Unknown Object (File)
Sat, Sep 12, 8:20 AM
Unknown Object (File)
Fri, Sep 11, 9:13 PM
Unknown Object (File)
Fri, Sep 11, 8:46 PM
Unknown Object (File)
Fri, Sep 11, 12:15 PM
Unknown Object (File)
Fri, Sep 11, 2:19 AM
Subscribers

Details

Summary

Perform the allocations outside the lock section so that we can use
M_WAITOK. Holding the lock here is actually not really necessary and we
could just as well remove it, but keep it for consistency.

Sponsored by: The FreeBSD Foundation
MFC after: 1 month

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable