/linux/include/trace/events/ |
H A D | kmem.h | 180 gfp_t gfp_flags, int migratetype), 182 TP_ARGS(page, order, gfp_flags, migratetype), 188 __field( int, migratetype ) 195 __entry->migratetype = migratetype; 202 __entry->migratetype, 208 TP_PROTO(struct page *page, unsigned int order, int migratetype, 211 TP_ARGS(page, order, migratetype, percpu_refill), 216 __field( int, migratetype ) 223 __entry->migratetype = migratetype; 231 __entry->migratetype, [all …]
|
/linux/mm/ |
H A D | page_isolation.c | 34 int migratetype, int flags) in has_unmovable_pages() argument 49 if (is_migrate_cma(migratetype)) in has_unmovable_pages() 147 static int set_migratetype_isolate(struct page *page, int migratetype, int isol_flags, in set_migratetype_isolate() argument 182 migratetype, isol_flags); in set_migratetype_isolate() 205 static void unset_migratetype_isolate(struct page *page, int migratetype) in unset_migratetype_isolate() argument 258 WARN_ON_ONCE(!move_freepages_block_isolate(zone, page, migratetype)); in unset_migratetype_isolate() 260 set_pageblock_migratetype(page, migratetype); in unset_migratetype_isolate() 261 __putback_isolated_page(page, order, migratetype); in unset_migratetype_isolate() 308 bool isolate_before, bool skip_isolation, int migratetype) in isolate_single_pageblock() argument 338 ret = set_migratetype_isolate(pfn_to_page(isolate_pageblock), migratetype, in isolate_single_pageblock() [all …]
|
H A D | debug_page_alloc.c | 36 __set_page_guard(struct zone * zone,struct page * page,unsigned int order,int migratetype) __set_page_guard() argument 52 __clear_page_guard(struct zone * zone,struct page * page,unsigned int order,int migratetype) __clear_page_guard() argument
|
H A D | page_alloc.c | 418 void set_pageblock_migratetype(struct page *page, int migratetype) in set_pageblock_migratetype() argument 421 migratetype < MIGRATE_PCPTYPES)) in set_pageblock_migratetype() 422 migratetype = MIGRATE_UNMOVABLE; in set_pageblock_migratetype() 424 set_pfnblock_flags_mask(page, (unsigned long)migratetype, in set_pageblock_migratetype() 509 static inline unsigned int order_to_pindex(int migratetype, int order) in order_to_pindex() argument 517 movable = migratetype == MIGRATE_MOVABLE; in order_to_pindex() 525 return (MIGRATE_PCPTYPES * order) + migratetype; in order_to_pindex() 596 int order, int migratetype) in compaction_capture() argument 602 if (is_migrate_cma(migratetype) || in compaction_capture() 603 is_migrate_isolate(migratetype)) in compaction_capture() [all …]
|
H A D | shuffle.c | 92 int migratetype, retry; in __shuffle_zone() local 129 migratetype = get_pageblock_migratetype(page_i); in __shuffle_zone() 130 if (get_pageblock_migratetype(page_j) != migratetype) { in __shuffle_zone()
|
H A D | internal.h | 519 int migratetype; member 809 int migratetype; /* migratetype of direct compactor */ member 850 int migratetype, bool only_stealable, bool *can_steal); 852 static inline bool free_area_empty(struct free_area *area, int migratetype) in free_area_empty() argument 854 return list_empty(&area->free_list[migratetype]); in free_area_empty() 1226 static inline bool is_migrate_highatomic(enum migratetype migratetype) in is_migrate_highatomic() argument 1228 return migratetype == MIGRATE_HIGHATOMIC; in is_migrate_highatomic()
|
H A D | compaction.c | 1408 if (cc->migratetype == MIGRATE_MOVABLE) in suitable_migration_source() 1411 return block_mt == cc->migratetype; in suitable_migration_source() 2002 if (cc->direct_compaction && cc->migratetype != MIGRATE_MOVABLE) in fast_find_migrateblock() 2277 const int migratetype = cc->migratetype; in __compact_finished() local 2338 if (!free_area_empty(area, migratetype)) in __compact_finished() 2343 if (migratetype == MIGRATE_MOVABLE && in __compact_finished() 2351 if (find_suitable_fallback(area, order, migratetype, in __compact_finished() 2551 cc->migratetype = gfp_migratetype(cc->gfp_mask); in compact_zone()
|
H A D | memory_hotplug.c | 773 struct vmem_altmap *altmap, int migratetype) in move_pfn_range_to_zone() argument 805 MEMINIT_HOTPLUG, altmap, migratetype); in move_pfn_range_to_zone()
|
/linux/Documentation/trace/ |
H A 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
|
/linux/include/linux/ |
H A D | memory_hotplug.h | 317 struct vmem_altmap *altmap, int migratetype);
|