Home
last modified time | relevance | path

Searched refs:migratepages (Results 1 – 4 of 4) sorted by relevance

/mm/
Dcompaction.c1048 list_add(&page->lru, &cc->migratepages); in isolate_migratepages_block()
1079 putback_movable_pages(&cc->migratepages); in isolate_migratepages_block()
2250 INIT_LIST_HEAD(&cc->migratepages); in compact_zone()
2336 putback_movable_pages(&cc->migratepages); in compact_zone()
2357 err = migrate_pages(&cc->migratepages, compaction_alloc, in compact_zone()
2362 &cc->migratepages); in compact_zone()
2367 putback_movable_pages(&cc->migratepages); in compact_zone()
2480 VM_BUG_ON(!list_empty(&cc.migratepages)); in compact_zone_order()
2606 VM_BUG_ON(!list_empty(&cc.migratepages)); in proactive_compact_node()
2636 VM_BUG_ON(!list_empty(&cc.migratepages)); in compact_node()
[all …]
Dmigrate.c2069 LIST_HEAD(migratepages); in migrate_misplaced_page()
2090 list_add(&page->lru, &migratepages); in migrate_misplaced_page()
2091 nr_remaining = migrate_pages(&migratepages, alloc_misplaced_dst_page, in migrate_misplaced_page()
2095 if (!list_empty(&migratepages)) { in migrate_misplaced_page()
2104 BUG_ON(!list_empty(&migratepages)); in migrate_misplaced_page()
Dpage_alloc.c8762 while (pfn < end || !list_empty(&cc->migratepages)) { in __alloc_contig_migrate_range()
8768 if (list_empty(&cc->migratepages)) { in __alloc_contig_migrate_range()
8782 &cc->migratepages); in __alloc_contig_migrate_range()
8786 list_for_each_entry(page, &cc->migratepages, lru) in __alloc_contig_migrate_range()
8789 ret = migrate_pages(&cc->migratepages, alloc_migration_target, in __alloc_contig_migrate_range()
8798 alloc_contig_dump_pages(&cc->migratepages); in __alloc_contig_migrate_range()
8799 page_pinner_mark_migration_failed_pages(&cc->migratepages); in __alloc_contig_migrate_range()
8802 if (!list_empty(&cc->migratepages)) { in __alloc_contig_migrate_range()
8803 page = list_first_entry(&cc->migratepages, struct page , lru); in __alloc_contig_migrate_range()
8807 putback_movable_pages(&cc->migratepages); in __alloc_contig_migrate_range()
[all …]
Dinternal.h239 struct list_head migratepages; /* List of pages being migrated */ member