Function report |
Source Code:mm\slub.c |
Create Date:2022-07-28 15:48:11 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:new_slab_objects
Proto:static inline void *new_slab_objects(struct kmem_cache *s, gfp_t flags, int node, struct kmem_cache_cpu **pc)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct kmem_cache * | s | |
gfp_t | flags | |
int | node | |
struct kmem_cache_cpu ** | pc |
2451 | WARN_ON_ONCE(ctor && (flags & __GFP_ZERO)) |
2459 | If page Then |
2460 | c = raw_cpu_ptr(cpu_slab) |
2461 | If The slab from which we are allocating Then flush_slab(s, c) |
2468 | freelist = first free object |
2469 | first free object = NULL |
2476 | Return freelist |
Name | Describe |
---|---|
___slab_alloc | Slow path. The lockless freelist is empty or we need to perform* debugging duties.* Processing is still very fast if new objects have been freed to the* regular freelist. In that case we simply take over the regular freelist |
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 |