lkml.org 
[lkml]   [2009]   [Feb]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    SubjectRe: [PATCH 11/20] Inline get_page_from_freelist() in the fast-path
    From
    On Mon, Feb 23, 2009 at 1:17 AM, Mel Gorman <mel@csn.ul.ie> wrote:
    > In the best-case scenario, use an inlined version of
    > get_page_from_freelist(). This increases the size of the text but avoids
    > time spent pushing arguments onto the stack.
    >
    > Signed-off-by: Mel Gorman <mel@csn.ul.ie>

    It's not obvious to me why this would be a huge win so I suppose this
    patch description could use numbers. Note: we used to do tricks like
    these in slab.c but got rid of most of them to reduce kernel text size
    which is probably why the patch seems bit backwards to me.


    \
     
     \ /
      Last update: 2009-02-23 08:23    [W:4.041 / U:0.040 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site