6.0 Witness squawk
Sam
sah at softcardsystems.com
Mon Oct 25 09:24:48 PDT 2004
> Sam <sah at softcardsystems.com> writes:
>> There are three entry points into the driver. 1) The disk
>> layer 2) the netisr routine 3) the rexmit timer.
>
> AFAIK, if the code that calls malloc() can be reached from 2) or 3),
> you're not allowed to use M_WAITOK.
Hm. If that's true then I've either got to petition you
fellas to change disk_alloc(), disk_create(), and disk_destroy()
to use M_NOWAIT or schedule a callback where these calls
can be handled properly.
Thoughts about either approach?
Sam
More information about the freebsd-current
mailing list