Page MenuHomeFreeBSD

snd_hdsp*: malloc(9) with M_WAITOK
ClosedPublic

Authored by christos on Fri, Aug 21, 12:47 PM.
Tags
None
Referenced Files
F167540984: D59079.diff
Sat, Aug 22, 2:16 PM
F167536828: D59079.diff
Sat, Aug 22, 1:45 PM
F167502085: D59079.id.diff
Sat, Aug 22, 8:23 AM
Unknown Object (File)
Fri, Aug 21, 1:30 PM
Unknown Object (File)
Fri, Aug 21, 1:25 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