Lines Matching refs:free_pfn

384 	unsigned long free_pfn = zone_end_pfn(zone) - 1;  in __reset_isolation_suitable()  local
385 unsigned long reset_migrate = free_pfn; in __reset_isolation_suitable()
402 for (; migrate_pfn < free_pfn; migrate_pfn += pageblock_nr_pages, in __reset_isolation_suitable()
403 free_pfn -= pageblock_nr_pages) { in __reset_isolation_suitable()
417 if (__reset_isolation_pfn(zone, free_pfn, free_set, true) && in __reset_isolation_suitable()
418 free_pfn > reset_free) { in __reset_isolation_suitable()
420 reset_free = free_pfn; in __reset_isolation_suitable()
430 zone->compact_cached_free_pfn = free_pfn; in __reset_isolation_suitable()
1454 return (cc->free_pfn >> pageblock_order) in compact_scanners_met()
1557 if (cc->free_pfn >= cc->zone->compact_init_free_pfn) { in fast_isolate_freepages()
1566 distance = (cc->free_pfn - cc->migrate_pfn); in fast_isolate_freepages()
1567 low_pfn = pageblock_start_pfn(cc->free_pfn - (distance >> 2)); in fast_isolate_freepages()
1568 min_pfn = pageblock_start_pfn(cc->free_pfn - (distance >> 1)); in fast_isolate_freepages()
1665 trace_mm_compaction_fast_isolate_freepages(min_pfn, cc->free_pfn, in fast_isolate_freepages()
1678 cc->free_pfn = highest; in fast_isolate_freepages()
1688 cc->free_pfn = min_pfn; in fast_isolate_freepages()
1737 isolate_start_pfn = cc->free_pfn; in isolate_freepages()
1824 cc->free_pfn = isolate_start_pfn; in isolate_freepages()
2008 distance = (cc->free_pfn - cc->migrate_pfn) >> 1; in fast_find_migrateblock()
2027 unsigned long free_pfn; in fast_find_migrateblock() local
2034 free_pfn = page_to_pfn(freepage); in fast_find_migrateblock()
2035 if (free_pfn < high_pfn) { in fast_find_migrateblock()
2048 update_fast_start_pfn(cc, free_pfn); in fast_find_migrateblock()
2049 pfn = pageblock_start_pfn(free_pfn); in fast_find_migrateblock()
2113 for (; block_end_pfn <= cc->free_pfn; in isolate_migratepages()
2134 block_end_pfn = min(next_pfn, cc->free_pfn); in isolate_migratepages()
2556 cc->free_pfn = pageblock_start_pfn(end_pfn - 1); in compact_zone()
2559 cc->free_pfn = cc->zone->compact_cached_free_pfn; in compact_zone()
2560 if (cc->free_pfn < start_pfn || cc->free_pfn >= end_pfn) { in compact_zone()
2561 cc->free_pfn = pageblock_start_pfn(end_pfn - 1); in compact_zone()
2562 cc->zone->compact_cached_free_pfn = cc->free_pfn; in compact_zone()
2719 unsigned long free_pfn = release_free_list(cc->freepages); in compact_zone() local
2722 VM_BUG_ON(free_pfn == 0); in compact_zone()
2724 free_pfn = pageblock_start_pfn(free_pfn); in compact_zone()
2729 if (free_pfn > cc->zone->compact_cached_free_pfn) in compact_zone()
2730 cc->zone->compact_cached_free_pfn = free_pfn; in compact_zone()