Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Find a mergeable slab cache

Proto:int slab_unmergeable(struct kmem_cache *s)

Type:int

Parameter:

TypeParameterName
struct kmem_cache *s
311  If Merge control. If this is set then no merging of slab caches will occur. || Used for retrieving partial slabs, etc. & Set of flags that will prevent slab merging Then Return 1
314  If Not is_root_cache(s) Then Return 1
317  If ctor Then Return 1
320  If Usercopy region size Then Return 1
326  If Refcount for slab cache destroy < 0 Then Return 1
329  Return 0
Caller
NameDescribe
find_mergeable