lkml.org 
[lkml]   [2009]   [Apr]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: [PATCH 1/3] IB/ehca: Replace vmalloc with kmalloc
    Date
    On Tuesday 28 April 2009 05:12:51 pm Dave Hansen wrote:
    > On Tue, 2009-04-21 at 17:16 +0200, Stefan Roscher wrote:
    > > From: Anton Blanchard <antonb at au1.ibm.com>
    > >
    > > To improve performance of driver ressource allocation,
    > > replace the vmalloc() call with kmalloc().
    >
    > Just curious, but how big are these allocations? Why was vmalloc() even
    > ever used if we know they'll be small?
    >
    > -- Dave
    >
    >

    The theoretical maximum size can be 512k, but for common queue pairs
    less than 128k is used.Because of the theoretical maximum we implemented
    vmalloc() first, but recognized a huge performance impact.

    -- Stefan



    \
     
     \ /
      Last update: 2009-04-28 18:07    [W:0.026 / U:97.452 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site