/kernel/linux/linux-5.10/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 37 int migratetype, int flags); 38 void set_pageblock_migratetype(struct page *page, int migratetype); 40 int migratetype, int *num_movable); 47 unsigned migratetype, int flags); 55 unsigned migratetype);
|
D | mmzone.h | 41 enum migratetype { enum 76 # define is_migrate_cma(migratetype) unlikely((migratetype) == MIGRATE_CMA) argument 79 # define is_migrate_cma(migratetype) false argument 111 int migratetype) in get_page_from_free_area() argument 113 return list_first_entry_or_null(&area->free_list[migratetype], in get_page_from_free_area() 117 static inline bool free_area_empty(struct free_area *area, int migratetype) in free_area_empty() argument 119 return list_empty(&area->free_list[migratetype]); in free_area_empty()
|
D | vmstat.h | 400 int migratetype) in __mod_zone_freepage_state() argument 403 if (is_migrate_cma(migratetype)) in __mod_zone_freepage_state()
|
D | memory_hotplug.h | 350 struct vmem_altmap *altmap, int migratetype);
|
D | gfp.h | 640 unsigned migratetype, gfp_t gfp_mask);
|
D | mm.h | 2506 struct vmem_altmap *, int migratetype);
|
/kernel/linux/linux-5.10/include/trace/events/ |
D | kmem.h | 196 gfp_t gfp_flags, int migratetype), 198 TP_ARGS(page, order, gfp_flags, migratetype), 204 __field( int, migratetype ) 211 __entry->migratetype = migratetype; 218 __entry->migratetype, 224 TP_PROTO(struct page *page, unsigned int order, int migratetype), 226 TP_ARGS(page, order, migratetype), 231 __field( int, migratetype ) 237 __entry->migratetype = migratetype; 244 __entry->migratetype, [all …]
|
/kernel/linux/linux-5.10/mm/ |
D | page_isolation.c | 18 static int set_migratetype_isolate(struct page *page, int migratetype, int isol_flags) in set_migratetype_isolate() argument 40 unmovable = has_unmovable_pages(zone, page, migratetype, isol_flags); in set_migratetype_isolate() 68 static void unset_migratetype_isolate(struct page *page, unsigned migratetype) in unset_migratetype_isolate() argument 116 nr_pages = move_freepages_block(zone, page, migratetype, NULL); in unset_migratetype_isolate() 117 __mod_zone_freepage_state(zone, nr_pages, migratetype); in unset_migratetype_isolate() 119 set_pageblock_migratetype(page, migratetype); in unset_migratetype_isolate() 121 __putback_isolated_page(page, order, migratetype); in unset_migratetype_isolate() 184 unsigned migratetype, int flags) in start_isolate_page_range() argument 198 if (set_migratetype_isolate(page, migratetype, flags)) { in start_isolate_page_range() 212 unset_migratetype_isolate(page, migratetype); in start_isolate_page_range() [all …]
|
D | page_alloc.c | 235 static inline void set_pcppage_migratetype(struct page *page, int migratetype) in set_pcppage_migratetype() argument 237 page->index = migratetype; in set_pcppage_migratetype() 581 void set_pageblock_migratetype(struct page *page, int migratetype) in set_pageblock_migratetype() argument 584 migratetype < MIGRATE_PCPTYPES)) in set_pageblock_migratetype() 585 migratetype = MIGRATE_UNMOVABLE; in set_pageblock_migratetype() 587 set_pfnblock_flags_mask(page, (unsigned long)migratetype, in set_pageblock_migratetype() 768 unsigned int order, int migratetype) in set_page_guard() argument 780 __mod_zone_freepage_state(zone, -(1 << order), migratetype); in set_page_guard() 786 unsigned int order, int migratetype) in clear_page_guard() argument 794 if (!is_migrate_isolate(migratetype)) in clear_page_guard() [all …]
|
D | shuffle.c | 93 int migratetype, retry; in __shuffle_zone() local 130 migratetype = get_pageblock_migratetype(page_i); in __shuffle_zone() 131 if (get_pageblock_migratetype(page_j) != migratetype) { in __shuffle_zone()
|
D | internal.h | 273 int migratetype; member 365 int migratetype; /* migratetype of direct compactor */ member 396 int migratetype, bool only_stealable, bool *can_steal); 761 static inline bool is_migrate_highatomic(enum migratetype migratetype) in is_migrate_highatomic() argument 763 return migratetype == MIGRATE_HIGHATOMIC; in is_migrate_highatomic()
|
D | compaction.c | 1162 if (cc->migratetype == MIGRATE_MOVABLE) in suitable_migration_source() 1165 return block_mt == cc->migratetype; in suitable_migration_source() 1691 if (cc->direct_compaction && cc->migratetype != MIGRATE_MOVABLE) in fast_find_migrateblock() 1952 const int migratetype = cc->migratetype; in __compact_finished() local 2013 if (!free_area_empty(area, migratetype)) in __compact_finished() 2018 if (migratetype == get_cma_migratetype() && in __compact_finished() 2026 if (find_suitable_fallback(area, order, migratetype, in __compact_finished() 2030 if (migratetype == MIGRATE_MOVABLE) in __compact_finished() 2212 cc->migratetype = gfp_migratetype(cc->gfp_mask); in compact_zone()
|
D | memory_hotplug.c | 694 struct vmem_altmap *altmap, int migratetype) in move_pfn_range_to_zone() argument 719 MEMINIT_HOTPLUG, altmap, migratetype); in move_pfn_range_to_zone()
|
/kernel/linux/linux-5.10/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
|