Page MenuHomeFreeBSD

snd_hdsp*: malloc(9) with M_WAITOK
ClosedPublic

Authored by christos on Aug 21 2026, 12:47 PM.
Tags
None
Referenced Files
F174141960: D59079.id184736.diff
Wed, Sep 30, 9:30 PM
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
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 Skipped
Unit
Tests Skipped
Build Status
Buildable 75944
Build 72827: arc lint + arc unit