Re: New USB stack on FreeBSD w/Linux emulation layer coming

Oliver Neukum <[email protected]>
Newsgroups gmane.linux.usb.devel
Organization Novell
Message-ID <[email protected]>
Am Dienstag, 22. Mai 2007 18:10 schrieb Laurent Pinchart:
> My idea was to have a general purpose URB buffer allocation function that all 
> (most?) drivers could use, with flags (or another function) for specific 
> cases. usb_buffer_alloc is currently used by some drivers when they should 
> use kmalloc. The function is documented as a general purpose URB buffer 
> allocator. Even if we fixed all drivers today to use kmalloc when they 
> should, I'm pretty sure some new drivers will use usb_buffer_alloc.

We have an all purpose allocator for the whole kernel. It is called
"kmalloc". If you don't like that for psychological reason, rename the
alternative.

	Regards
		Oliver
-- 
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)
This signature is a legal requirement

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.