Home
last modified time | relevance | path

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

/Linux-v5.4/include/trace/events/
Dcompaction.h72 struct list_head *migratepages),
74 TP_ARGS(nr_all, migrate_rc, migratepages),
94 list_for_each(page_lru, migratepages)
/Linux-v5.4/mm/
Dcompaction.c992 list_add(&page->lru, &cc->migratepages); in isolate_migratepages_block()
1023 putback_movable_pages(&cc->migratepages); in isolate_migratepages_block()
2090 INIT_LIST_HEAD(&cc->migratepages); in compact_zone()
2175 putback_movable_pages(&cc->migratepages); in compact_zone()
2197 err = migrate_pages(&cc->migratepages, compaction_alloc, in compact_zone()
2202 &cc->migratepages); in compact_zone()
2207 putback_movable_pages(&cc->migratepages); in compact_zone()
2319 VM_BUG_ON(!list_empty(&cc.migratepages)); in compact_zone_order()
2434 VM_BUG_ON(!list_empty(&cc.migratepages)); in compact_node()
2584 VM_BUG_ON(!list_empty(&cc.migratepages)); in kcompactd_do_work()
Dmigrate.c1943 LIST_HEAD(migratepages); in migrate_misplaced_page()
1964 list_add(&page->lru, &migratepages); in migrate_misplaced_page()
1965 nr_remaining = migrate_pages(&migratepages, alloc_misplaced_dst_page, in migrate_misplaced_page()
1969 if (!list_empty(&migratepages)) { in migrate_misplaced_page()
1978 BUG_ON(!list_empty(&migratepages)); in migrate_misplaced_page()
Dinternal.h182 struct list_head migratepages; /* List of pages being migrated */ member
Dpage_alloc.c8321 while (pfn < end || !list_empty(&cc->migratepages)) { in __alloc_contig_migrate_range()
8327 if (list_empty(&cc->migratepages)) { in __alloc_contig_migrate_range()
8341 &cc->migratepages); in __alloc_contig_migrate_range()
8344 ret = migrate_pages(&cc->migratepages, alloc_migrate_target, in __alloc_contig_migrate_range()
8348 putback_movable_pages(&cc->migratepages); in __alloc_contig_migrate_range()
8391 INIT_LIST_HEAD(&cc.migratepages); in alloc_contig_range()