Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:slab_free

Proto:static __always_inline void slab_free(struct kmem_cache *s, struct page *page, void *head, void *tail, int cnt, unsigned long addr)

Type:void

Parameter:

TypeParameterName
struct kmem_cache *s
struct page *page
void *head
void *tail
intcnt
unsigned longaddr
3005  If slab_free_freelist_hook(s, & head, & tail) Then 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
Caller
NameDescribe
kmem_cache_free
kmem_cache_free_bulkNote that interrupts must be enabled when calling this function.
kfree