Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\slub.c Create Date:2022-07-28 15:47:52
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:next_tid

Proto:static inline unsigned long next_tid(unsigned long tid)

Type:unsigned long

Parameter:

TypeParameterName
unsigned longtid
1984  Return tid + No preemption supported therefore also no need to check for* different cpus.
Caller
NameDescribe
flush_slab
___slab_allocSlow 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
slab_alloc_nodeInlined fastpath so that allocation functions (kmalloc, kmem_cache_alloc)* have the fastpath folded into their functions. So no function call* overhead for requests that can be satisfied on the fastpath.
do_slab_freeFastpath 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
kmem_cache_alloc_bulkNote that interrupts must be enabled when calling this function.