Home
last modified time | relevance | path

Searched refs:capc (Results 1 – 2 of 2) sorted by relevance

/linux-6.15/mm/
H A Dpage_alloc.c591 struct capture_control *capc = current->capture_control; in task_capc() local
593 return unlikely(capc) && in task_capc()
595 !capc->page && in task_capc()
596 capc->cc->zone == zone ? capc : NULL; in task_capc()
603 if (!capc || order != capc->cc->order) in compaction_capture()
619 capc->cc->migratetype != MIGRATE_MOVABLE) in compaction_capture()
622 if (migratetype != capc->cc->migratetype) in compaction_capture()
623 trace_mm_page_alloc_extfrag(page, capc->cc->order, order, in compaction_capture()
624 capc->cc->migratetype, migratetype); in compaction_capture()
626 capc->page = page; in compaction_capture()
[all …]
H A Dcompaction.c2553 compact_zone(struct compact_control *cc, struct capture_control *capc) in compact_zone() argument
2736 if (capc && capc->page) { in compact_zone()
2811 struct capture_control capc = { in compact_zone_order() local
2822 WRITE_ONCE(current->capture_control, &capc); in compact_zone_order()
2824 ret = compact_zone(&cc, &capc); in compact_zone_order()
2832 *capture = READ_ONCE(capc.page); in compact_zone_order()