Function report |
Source Code:mm\page_alloc.c |
Create Date:2022-07-28 15:03:57 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:The order of subdivision here is critical for the IO subsystem
Proto:static inline void expand(struct zone *zone, struct page *page, int low, int high, struct free_area *area, int migratetype)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct zone * | zone | |
| struct page * | page | |
| int | low | |
| int | high | |
| struct free_area * | area | |
| int | migratetype |
| 2023 | area-- |
| 2024 | high-- |
| 2025 | size >>= 1 |
| 2034 | If set_page_guard(zone, & page[size], high, migratetype) Then Continue |
| 2038 | set_page_order( & page[size], high) |
| Name | Describe |
|---|---|
| __rmqueue_smallest | Go through the free lists for the given migratetype and remove* the smallest available page from the freelists |
| 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 |