Function report |
Source Code:mm\page_alloc.c |
Create Date:2022-07-28 15:03:08 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:set_pageblock_migratetype
Proto:void set_pageblock_migratetype(struct page *page, int migratetype)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct page * | page | |
int | migratetype |
552 | If Value for the false possibility is greater at compile time(page_group_by_mobility_disabled && migratetype < MIGRATE_PCPTYPES) Then migratetype = MIGRATE_UNMOVABLE |
556 | set_pageblock_flags_group(page, (unsignedlong)migratetype, PB_migrate, PB_migrate_end) |
Name | Describe |
---|---|
init_cma_reserved_pageblock | Free whole pageblock and set its migration type to MIGRATE_CMA. |
change_pageblock_range | |
steal_suitable_fallback | This function implements actual steal behaviour. If order is large enough,* we can steal whole pageblock. If not, we first move freepages in this* pageblock to our migratetype and determine how many already-allocated pages |
reserve_highatomic_pageblock | Reserve a pageblock for exclusive use of high-order atomic allocations if* there are no empty page blocks that contain a page with a suitable order |
unreserve_highatomic_pageblock | Used when an allocation is about to fail under memory pressure |
__isolate_free_page | |
memmap_init_zone | Initially all pages are reserved - free ones are freed* up by memblock_free_all() once the early boot process is* done. Non-atomic initialization, single-pass. |
soft_offline_in_use_page | |
set_migratetype_isolate | |
unset_migratetype_isolate |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |