Re: USB transfer_buffer allocations on 64bit systems

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Daniel Mack
Date: Wednesday, April 7, 2010 - 9:16 am

On Wed, Apr 07, 2010 at 11:55:19AM -0400, Alan Stern wrote:

Ok, I'll write some dummies for usb_malloc() and usb_zalloc() which
will just call kmalloc() with GFP_DMA32 for now. And while at it,
usb_alloc_buffer() will be renamed to usb_alloc_consistent(). Then I'll
try to clean up all existing drivers to use this new interface and
follow the changes.

In a next step, we should fine-tune when GFP_DMA32 is really needed.
And I'll leave all occurances of usb_alloc_consistent() as they are now.

Does that sound ok?

Thanks,
Daniel

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: USB transfer_buffer allocations on 64bit systems, Daniel Mack, (Wed Apr 7, 9:16 am)
Re: USB transfer_buffer allocations on 64bit systems, Takashi Iwai, (Wed Apr 7, 10:52 am)
Re: USB transfer_buffer allocations on 64bit systems, Takashi Iwai, (Wed Apr 7, 10:55 am)
Re: USB transfer_buffer allocations on 64bit systems, Daniel Mack, (Wed Apr 7, 10:59 am)
Re: USB transfer_buffer allocations on 64bit systems, Takashi Iwai, (Wed Apr 7, 11:06 am)