Function report |
Source Code:mm\page_alloc.c |
Create Date:2022-07-28 15:05:17 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:zone_watermark_fast
Proto:static inline bool zone_watermark_fast(struct zone *z, unsigned int order, unsigned long mark, int classzone_idx, unsigned int alloc_flags)
Type:bool
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct zone * | z | |
| unsigned int | order | |
| unsigned long | mark | |
| int | classzone_idx | |
| unsigned int | alloc_flags |
| 3480 | cma_pages = 0 |
| 3484 | If Not (alloc_flags & allow allocations from CMA areas ) Then cma_pages = zone_page_state(z, NR_FREE_CMA_PAGES) |
| Name | Describe |
|---|---|
| get_page_from_freelist | get_page_from_freelist goes through the zonelist trying to allocate* a page. |
| 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 |