Function report |
Source Code:mm\slab.c |
Create Date:2022-07-28 15:44:59 |
Last Modify:2022-05-23 17:02:55 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:cache_grow_end
Proto:static void cache_grow_end(struct kmem_cache *cachep, struct page *page)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct kmem_cache * | cachep | |
struct page * | page |
2699 | void * list = NULL |
2701 | check_irq_off() |
2703 | If Not page Then Return |
2707 | n = get_node(cachep, page_to_nid(page)) |
2710 | total_slabs++ |
2711 | If Not SLAB Then |
2713 | free_slabs++ |
2714 | Else fixup_slab_list(cachep, n, page, & list) |
2717 | STATS_INC_GROWN(cachep) |
2718 | free_objects += num - SLAB |
2719 | spin_unlock( & list_lock) |
2721 | fixup_objfreelist_debug(cachep, & list) |
Name | Describe |
---|---|
cache_alloc_refill | |
fallback_alloc | Fallback function if there was no memory available and no objects on a* certain node and fall back is permitted. First we scan all the* available node for available objects. If that fails then we* perform an allocation without specifying a node |
____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 |