[lkml]   [2011]   [Mar]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] mm: remove inline from scan_swap_map
On Sat, Mar 5, 2011 at 8:49 PM, Cesar Eduardo Barros <> 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 <>

Reviewed-by: Pekka Enberg <>

 \ /
  Last update: 2011-03-06 12:29    [W:0.072 / U:0.900 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site