Skip to content
  • Mel Gorman's avatar
    page allocator: inline __rmqueue_fallback() · 0ac3a409
    Mel Gorman authored
    
    
    __rmqueue_fallback() is in the slow path but has only one call site.
    Because there is only one call-site, this function can then be inlined
    without causing text bloat.  On an x86-based config, it made no difference
    as the savings were padded out by NOP instructions.  Milage varies but
    text will either decrease in size or remain static.
    
    Signed-off-by: default avatarMel Gorman <mel@csn.ul.ie>
    Cc: Christoph Lameter <cl@linux-foundation.org>
    Cc: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
    Cc: Pekka Enberg <penberg@cs.helsinki.fi>
    Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
    Cc: Nick Piggin <nickpiggin@yahoo.com.au>
    Cc: Dave Hansen <dave@linux.vnet.ibm.com>
    Cc: Lee Schermerhorn <Lee.Schermerhorn@hp.com>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    0ac3a409