Function report |
Source Code:mm\page_alloc.c |
Create Date:2022-07-28 15:04:07 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Go through the free lists for the given migratetype and remove* the smallest available page from the freelists
Proto:static __always_inline struct page *__rmqueue_smallest(struct zone *zone, unsigned int order, int migratetype)
Type:struct page
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct zone * | zone | |
| unsigned int | order | |
| int | migratetype |
| 2192 | page = get_page_from_free_area(area, migratetype) |
| 2193 | If Not page Then Continue |
| 2195 | del_page_from_free_area(page, area) |
| 2198 | Return page |
| 2201 | Return NULL |
| Name | Describe |
|---|---|
| __rmqueue_cma_fallback | |
| __rmqueue | Do the hard work of removing an element from the buddy allocator.* Call me with the zone->lock already held. |
| rmqueue | Allocate a page from the given zone. Use pcplists for order-0 allocations. |
| 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 |