Function report |
Source Code:mm\slub.c |
Create Date:2022-07-28 15:47:40 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Management of partially allocated slabs.
Proto:static inline void __add_partial(struct kmem_cache_node *n, struct page *page, int tail)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct kmem_cache_node * | n | |
| struct page * | page | |
| int | tail |
| 1762 | nr_partial++ |
| Name | Describe |
|---|---|
| add_partial | |
| early_kmem_cache_node_alloc | No kmalloc_node yet so do it by hand. We know that this is the first* slab on the node for this slabcache. There are no concurrent accesses* possible.* Note that this function only works on the kmem_cache_node* when allocating for the kmem_cache_node |
| 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 |