]> git.baikalelectronics.ru Git - kernel.git/commit
mm: migration: cleanup migrate_pages API by matching types for offlining and sync
authorMel Gorman <mel@csn.ul.ie>
Thu, 13 Jan 2011 23:45:58 +0000 (15:45 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 14 Jan 2011 01:32:34 +0000 (17:32 -0800)
commit874a7ef47ef13a32c9b97598362782be15263e8a
tree80448367dd2403f02e74f90671e1f050aea41292
parent567ac6426efacf58e6735ac8e9f31617a1867656
mm: migration: cleanup migrate_pages API by matching types for offlining and sync

With the introduction of the boolean sync parameter, the API looks a
little inconsistent as offlining is still an int.  Convert offlining to a
bool for the sake of being tidy.

Signed-off-by: Mel Gorman <mel@csn.ul.ie>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Cc: Rik van Riel <riel@redhat.com>
Acked-by: Johannes Weiner <hannes@cmpxchg.org>
Cc: Andy Whitcroft <apw@shadowen.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/migrate.h
mm/compaction.c
mm/memory_hotplug.c
mm/mempolicy.c
mm/migrate.c