mm: compaction: introduce map_pages()
authorMichal Nazarewicz <mina86@mina86.com>
Mon, 30 Jan 2012 12:23:47 +0000 (13:23 +0100)
committerMarek Szyprowski <m.szyprowski@samsung.com>
Mon, 21 May 2012 13:09:28 +0000 (15:09 +0200)
commit03d44192f69a45d780ba124f691e76020a44ebae
tree81b43ba18b0fa70280a20fa534d37b9d0c5e5478
parent2fe86e0004076128f05d5a774b5c9c03d9dc3de2
mm: compaction: introduce map_pages()

This commit creates a map_pages() function which map pages freed
using split_free_pages().  This merely moves some code from
isolate_freepages() so that it can be reused in other places.

Signed-off-by: Michal Nazarewicz <mina86@mina86.com>
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Acked-by: Mel Gorman <mel@csn.ul.ie>
Reviewed-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Tested-by: Robert Nelson <robertcnelson@gmail.com>
Tested-by: Barry Song <Baohua.Song@csr.com>
mm/compaction.c