mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
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 <[email protected]> Reviewed-by: Rik van Riel <[email protected]> Cc: Alex Thorlton <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
25487d73a9
commit
1c30e0177e
1 changed files with 3 additions and 2 deletions
|
|
@ -1599,7 +1599,8 @@ bool migrate_ratelimited(int node)
|
|||
}
|
||||
|
||||
/* Returns true if the node is migrate rate-limited after the update */
|
||||
bool numamigrate_update_ratelimit(pg_data_t *pgdat, unsigned long nr_pages)
|
||||
static bool numamigrate_update_ratelimit(pg_data_t *pgdat,
|
||||
unsigned long nr_pages)
|
||||
{
|
||||
bool rate_limited = false;
|
||||
|
||||
|
|
@ -1623,7 +1624,7 @@ bool numamigrate_update_ratelimit(pg_data_t *pgdat, unsigned long nr_pages)
|
|||
return rate_limited;
|
||||
}
|
||||
|
||||
int numamigrate_isolate_page(pg_data_t *pgdat, struct page *page)
|
||||
static int numamigrate_isolate_page(pg_data_t *pgdat, struct page *page)
|
||||
{
|
||||
int page_lru;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue