Function report |
Source Code:mm\slab.h |
Create Date:2022-07-28 14:04:16 |
Last Modify:2022-05-23 16:25:42 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:charge_slab_page
Proto:static __always_inline int charge_slab_page(struct page *page, gfp_t gfp, int order, struct kmem_cache *s)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct page * | page | |
gfp_t | gfp | |
int | order | |
struct kmem_cache * | s |
483 | If is_root_cache(s) Then |
484 | mod_node_page_state(page_pgdat(page), cache_vmstat_idx(s), 1 << order) |
486 | Return 0 |
489 | Return memcg_charge_slab(page, gfp, order, s) |
Name | Describe |
---|---|
kmem_getpages | Interface to system's page allocator. No need to hold the* kmem_cache_node ->list_lock.* If we requested dmaable memory, we will get it. Even if we* did not request dmaable memory, we might get it, but that* would be relatively rare and ignorable. |
alloc_slab_page | Slab allocation and freeing |
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 |