Page MenuHomeFreeBSD

snd_hdsp*: malloc(9) with M_WAITOK
ClosedPublic

Authored by christos on Fri, Aug 21, 12:47 PM.
Tags
None
Referenced Files
F170752215: D59079.id184645.diff
Sun, Sep 6, 10:16 AM
F170751844: D59079.diff
Sun, Sep 6, 10:13 AM
F170737503: D59079.diff
Sun, Sep 6, 8:04 AM
F170695558: D59079.id.diff
Sun, Sep 6, 1:56 AM
Unknown Object (File)
Sat, Sep 5, 10:07 AM
Unknown Object (File)
Sat, Sep 5, 5:53 AM
Unknown Object (File)
Sat, Sep 5, 1:27 AM
Unknown Object (File)
Sat, Sep 5, 12:52 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 Skipped
Unit
Tests Skipped
Build Status
Buildable 75944
Build 72827: arc lint + arc unit