aboutsummaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorMel Gorman <mgorman@suse.de>2014-01-21 18:50:58 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2014-01-21 19:19:48 -0500
commit1c30e0177e4f41a11cb88b0f1f056ccebfe0fff4 (patch)
tree09dedc22f8900ae41956c1a7acb63650c2df4d27 /mm
parent25487d73a9670d911530eee2e31c20889ba117db (diff)
mm: numa: make NUMA-migrate related functions static
numamigrate_update_ratelimit and numamigrate_isolate_page only have callers in mm/migrate.c. This patch makes them static. Signed-off-by: Mel Gorman <mgorman@suse.de> Reviewed-by: Rik van Riel <riel@redhat.com> Cc: Alex Thorlton <athorlton@sgi.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm')
-rw-r--r--mm/migrate.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/mm/migrate.c b/mm/migrate.c
index 11d89dc0574c..41eba21f10ba 100644
--- a/mm/migrate.c
+++ b/mm/migrate.c
@@ -1599,7 +1599,8 @@ bool migrate_ratelimited(int node)
1599} 1599}
1600 1600
1601/* Returns true if the node is migrate rate-limited after the update */ 1601/* Returns true if the node is migrate rate-limited after the update */
1602bool numamigrate_update_ratelimit(pg_data_t *pgdat, unsigned long nr_pages) 1602static bool numamigrate_update_ratelimit(pg_data_t *pgdat,
1603 unsigned long nr_pages)
1603{ 1604{
1604 bool rate_limited = false; 1605 bool rate_limited = false;
1605 1606
@@ -1623,7 +1624,7 @@ bool numamigrate_update_ratelimit(pg_data_t *pgdat, unsigned long nr_pages)
1623 return rate_limited; 1624 return rate_limited;
1624} 1625}
1625 1626
1626int numamigrate_isolate_page(pg_data_t *pgdat, struct page *page) 1627static int numamigrate_isolate_page(pg_data_t *pgdat, struct page *page)
1627{ 1628{
1628 int page_lru; 1629 int page_lru;
1629 1630