[lkml]   [2010]   [Apr]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: USB transfer_buffer allocations on 64bit systems
    On Wed, Apr 07, 2010 at 08:31:54AM -0700, Greg KH wrote:
    > On Wed, Apr 07, 2010 at 05:11:25PM +0200, Daniel Mack wrote:
    > > I vote for a clean solution, a fixup of existing implementations and
    > > a clear note about how to allocate buffers for USB drivers. I believe
    > > faulty allocations of this kind can explain quite a lot of problems on
    > > x86_64 machines.
    > Yeah, I really don't want to have to change every driver in different
    > ways just depending on if someone thinks it is going to need to run on
    > this wierd hardware.
    > Alan, any objection to just using usb_buffer_alloc() for every driver?
    > Or is that too much overhead?

    FWIW, most drivers I've seen in the past hours use a wild mix of
    kmalloc(), kzalloc(), kcalloc() and usb_buffer_alloc(). That should
    really be unified.


     \ /
      Last update: 2010-04-07 17:39    [W:0.020 / U:19.324 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site