Function report |
Source Code:mm\slub.c |
Create Date:2022-07-28 15:48:37 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Fastpath with forced inlining to produce a kfree and kmem_cache_free that* can perform fastpath freeing without additional function calls.* The fastpath is only possible if we are freeing to the current cpu slab* of this processor
Proto:static __always_inline void do_slab_free(struct kmem_cache *s, struct page *page, void *head, void *tail, int cnt, unsigned long addr)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct kmem_cache * | s | |
struct page * | page | |
void * | head | |
void * | tail | |
int | cnt | |
unsigned long | addr |
2964 | redo : |
2971 | Do |
2972 | tid = Operations with implied preemption/interrupt protection. These* operations can be used without worrying about preemption or interrupt.( Globally unique transaction id ) |
2973 | c = raw_cpu_ptr(cpu_slab) |
2980 | If Value is more likely to compile time(page == The slab from which we are allocating ) Then |
Name | Describe |
---|---|
slab_free |
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 |