[lkml]   [2010]   [Apr]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: USB transfer_buffer allocations on 64bit systems
    Am Mittwoch, 7. April 2010 17:35:51 schrieb Daniel Mack:
    > > 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.

    kmalloc() & friends != usb_buffer_alloc(). They do different things.
    It makes no sense to unify them. If you really need an ordinary
    buffer DMA will surely work on, this needs a third primitive.


     \ /
      Last update: 2010-04-08 10:05    [W:0.021 / U:90.096 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site