lkml.org 
[lkml]   [2011]   [Mar]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    SubjectRe: [PATCH] mm: remove inline from scan_swap_map
    From
    On Sun, Mar 6, 2011 at 3:49 AM, Cesar Eduardo Barros <cesarb@cesarb.net> wrote:
    > scan_swap_map is a large function (224 lines), with several loops and a
    > complex control flow involving several gotos.
    >
    > Given all that, it is a bit silly that is is marked as inline. The
    > compiler agrees with me: on a x86-64 compile, it did not inline the
    > function.
    >
    > Remove the "inline" and let the compiler decide instead.
    >
    > Signed-off-by: Cesar Eduardo Barros <cesarb@cesarb.net>
    Reviewed-by: Minchan Kim <minchan.kim@gmail.com>



    --
    Kind regards,
    Minchan Kim


    \
     
     \ /
      Last update: 2011-03-07 16:41    [W:0.019 / U:60.364 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site