/Linux-v4.19/include/linux/ |
D | page-isolation.h | 14 static inline bool is_migrate_isolate(int migratetype) in is_migrate_isolate() argument 16 return migratetype == MIGRATE_ISOLATE; in is_migrate_isolate() 27 static inline bool is_migrate_isolate(int migratetype) in is_migrate_isolate() argument 34 int migratetype, bool skip_hwpoisoned_pages); 35 void set_pageblock_migratetype(struct page *page, int migratetype); 37 int migratetype, int *num_movable); 50 unsigned migratetype, bool skip_hwpoisoned_pages); 58 unsigned migratetype);
|
D | mmzone.h | 39 enum migratetype { enum 71 # define is_migrate_cma(migratetype) unlikely((migratetype) == MIGRATE_CMA) argument 74 # define is_migrate_cma(migratetype) false argument
|
D | vmstat.h | 380 int migratetype) in __mod_zone_freepage_state() argument 383 if (is_migrate_cma(migratetype)) in __mod_zone_freepage_state()
|
D | gfp.h | 591 unsigned migratetype, gfp_t gfp_mask);
|
/Linux-v4.19/include/trace/events/ |
D | kmem.h | 195 gfp_t gfp_flags, int migratetype), 197 TP_ARGS(page, order, gfp_flags, migratetype), 203 __field( int, migratetype ) 210 __entry->migratetype = migratetype; 217 __entry->migratetype, 223 TP_PROTO(struct page *page, unsigned int order, int migratetype), 225 TP_ARGS(page, order, migratetype), 230 __field( int, migratetype ) 236 __entry->migratetype = migratetype; 243 __entry->migratetype, [all …]
|
/Linux-v4.19/mm/ |
D | page_isolation.c | 18 static int set_migratetype_isolate(struct page *page, int migratetype, in set_migratetype_isolate() argument 63 if (!has_unmovable_pages(zone, page, arg.pages_found, migratetype, in set_migratetype_isolate() 91 static void unset_migratetype_isolate(struct page *page, unsigned migratetype) in unset_migratetype_isolate() argument 134 nr_pages = move_freepages_block(zone, page, migratetype, NULL); in unset_migratetype_isolate() 135 __mod_zone_freepage_state(zone, nr_pages, migratetype); in unset_migratetype_isolate() 137 set_pageblock_migratetype(page, migratetype); in unset_migratetype_isolate() 188 unsigned migratetype, bool skip_hwpoisoned_pages) in start_isolate_page_range() argument 202 set_migratetype_isolate(page, migratetype, skip_hwpoisoned_pages)) { in start_isolate_page_range() 215 unset_migratetype_isolate(page, migratetype); in start_isolate_page_range() 225 unsigned migratetype) in undo_isolate_page_range() argument [all …]
|
D | page_alloc.c | 147 static inline void set_pcppage_migratetype(struct page *page, int migratetype) in set_pcppage_migratetype() argument 149 page->index = migratetype; in set_pcppage_migratetype() 443 void set_pageblock_migratetype(struct page *page, int migratetype) in set_pageblock_migratetype() argument 446 migratetype < MIGRATE_PCPTYPES)) in set_pageblock_migratetype() 447 migratetype = MIGRATE_UNMOVABLE; in set_pageblock_migratetype() 449 set_pageblock_flags_group(page, (unsigned long)migratetype, in set_pageblock_migratetype() 644 unsigned int order, int migratetype) in set_page_guard() argument 663 __mod_zone_freepage_state(zone, -(1 << order), migratetype); in set_page_guard() 669 unsigned int order, int migratetype) in clear_page_guard() argument 683 if (!is_migrate_isolate(migratetype)) in clear_page_guard() [all …]
|
D | internal.h | 121 int migratetype; member 196 int migratetype; /* migratetype of direct compactor */ member 216 int migratetype, bool only_stealable, bool *can_steal); 518 static inline bool is_migrate_highatomic(enum migratetype migratetype) in is_migrate_highatomic() argument 520 return migratetype == MIGRATE_HIGHATOMIC; in is_migrate_highatomic()
|
D | compaction.c | 1020 if (cc->migratetype == MIGRATE_MOVABLE) in suitable_migration_source() 1023 return block_mt == cc->migratetype; in suitable_migration_source() 1316 const int migratetype = cc->migratetype; in __compact_finished() local 1361 if (!list_empty(&area->free_list[migratetype])) in __compact_finished() 1366 if (migratetype == MIGRATE_MOVABLE && in __compact_finished() 1374 if (find_suitable_fallback(area, order, migratetype, in __compact_finished() 1378 if (migratetype == MIGRATE_MOVABLE) in __compact_finished() 1543 cc->migratetype = gfpflags_to_migratetype(cc->gfp_mask); in compact_zone()
|
/Linux-v4.19/Documentation/trace/ |
D | events-kmem.rst | 49 mm_page_alloc page=%p pfn=%lu order=%d migratetype=%d gfp_flags=%s 50 mm_page_alloc_zone_locked page=%p pfn=%lu order=%u migratetype=%d cpu=%d percpu_refill=%d 78 mm_page_alloc_zone_locked page=%p pfn=%lu order=%u migratetype=%d cpu=%d percpu_refill=%d 79 mm_page_pcpu_drain page=%p pfn=%lu order=%d cpu=%d migratetype=%d
|