page allocator: inline some __alloc_pages() wrappers
authorKOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Thu, 24 Jul 2008 04:27:01 +0000 (21:27 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 24 Jul 2008 17:47:14 +0000 (10:47 -0700)
commite4048e5dc4aecec670f48ed007a28779f09cebd6
treeeb22cb47f1885d8006a85c5142d6e7f9d115de49
parentefe9e77997f6e0306fedc6efa98df491dcf5ecb0
page allocator: inline some __alloc_pages() wrappers

Two zonelist patch series rewrote __page_alloc() largely.  Now, it is just
a wrapper function.  Inlining them will save a function call.

[akpm@linux-foundation.org: export __alloc_pages_internal]
Cc: Lee Schermerhorn <lee.schermerhorn@hp.com>
Cc: Mel Gorman <mel@csn.ul.ie>
Signed-off-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/gfp.h
mm/page_alloc.c