Page MenuHomeFreeBSD

snd_hdsp*: malloc(9) with M_WAITOK
ClosedPublic

Authored by christos on Fri, Aug 21, 12:47 PM.
Tags
None
Referenced Files
F170089887: D59079.diff
Thu, Sep 3, 11:47 AM
F169976009: D59079.id184736.diff
Thu, Sep 3, 3:55 AM
F169936854: D59079.id.diff
Thu, Sep 3, 12:54 AM
F169879860: D59079.diff
Wed, Sep 2, 9:09 PM
F169874500: D59079.id184645.diff
Wed, Sep 2, 8:50 PM
Unknown Object (File)
Tue, Sep 1, 9:46 PM
Unknown Object (File)
Tue, Sep 1, 1:45 AM
Unknown Object (File)
Mon, Aug 31, 8:55 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 Not Applicable
Unit
Tests Not Applicable