Home
last modified time | relevance | path

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

/linux-6.12.1/mm/
Dcompaction.c1002 ret = isolate_or_dissolve_huge_page(page, &cc->migratepages); in isolate_migratepages_block()
1240 list_add(&folio->lru, &cc->migratepages); in isolate_migratepages_block()
1282 putback_movable_pages(&cc->migratepages); in isolate_migratepages_block()
2528 INIT_LIST_HEAD(&cc->migratepages); in compact_zone()
2614 putback_movable_pages(&cc->migratepages); in compact_zone()
2641 err = migrate_pages(&cc->migratepages, compaction_alloc, in compact_zone()
2650 putback_movable_pages(&cc->migratepages); in compact_zone()
2738 VM_BUG_ON(!list_empty(&cc->migratepages)); in compact_zone()
Dmigrate.c2691 LIST_HEAD(migratepages); in migrate_misplaced_folio()
2695 list_add(&folio->lru, &migratepages); in migrate_misplaced_folio()
2696 nr_remaining = migrate_pages(&migratepages, alloc_misplaced_dst_folio, in migrate_misplaced_folio()
2699 if (nr_remaining && !list_empty(&migratepages)) in migrate_misplaced_folio()
2700 putback_movable_pages(&migratepages); in migrate_misplaced_folio()
2710 BUG_ON(!list_empty(&migratepages)); in migrate_misplaced_folio()
Dpage_alloc.c6425 while (pfn < end || !list_empty(&cc->migratepages)) { in __alloc_contig_migrate_range()
6431 if (list_empty(&cc->migratepages)) { in __alloc_contig_migrate_range()
6444 &cc->migratepages); in __alloc_contig_migrate_range()
6449 list_for_each_entry(page, &cc->migratepages, lru) { in __alloc_contig_migrate_range()
6457 ret = migrate_pages(&cc->migratepages, alloc_migration_target, in __alloc_contig_migrate_range()
6474 alloc_contig_dump_pages(&cc->migratepages); in __alloc_contig_migrate_range()
6475 putback_movable_pages(&cc->migratepages); in __alloc_contig_migrate_range()
6547 INIT_LIST_HEAD(&cc.migratepages); in alloc_contig_range_noprof()
Dinternal.h772 struct list_head migratepages; /* List of pages being migrated */ member