Function report |
Source Code:mm\slab.c |
Create Date:2022-07-28 15:45:04 |
Last Modify:2022-05-23 17:02:55 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:get_first_slab
Proto:static struct page *get_first_slab(struct kmem_cache_node *n, bool pfmemalloc)
Type:struct page
Parameter:
Type | Parameter | Name |
---|---|---|
struct kmem_cache_node * | n | |
bool | pfmemalloc |
2885 | assert_spin_locked( & list_lock) |
2888 | If Not page Then |
2889 | free_touched = 1 |
2892 | If page Then free_slabs-- |
2896 | If sk_memalloc_socks() Then page = Try to find non-pfmemalloc slab if needed |
2899 | Return page |
Name | Describe |
---|---|
cache_alloc_pfmemalloc | |
cache_alloc_refill | |
____cache_alloc_node | A interface to enable slab creation on nodeid |
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 |