Re: current->state after kmalloc

From: Oliver Neukum (520047054719-0001@t-online.de)
Date: Tue Feb 05 2002 - 03:35:20 EST


On Tuesday 05 February 2002 09:16, arjan@fenrus.demon.nl wrote:
> In article <16Xu62-2F1K08C@fwd04.sul.t-online.com> you wrote:
> > usb_submit_urb() uses kmalloc internally.
> > To code a simple waiting for the results of an urb,
> > it is necessary.
>
> Can't you just alloc the memory outside this "current" area ?
> Even if that means you have to release it if you don't use it

No. The individual USB device drivers must not know the memory
requirements of the HCD layer.

        Regards
                Oliver

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Feb 07 2002 - 21:00:41 EST