Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\slab.c Create Date:2022-07-28 15:46:10
Last Modify:2022-05-23 17:02:55 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:do_tune_cpucache

Proto:static int do_tune_cpucache(struct kmem_cache *cachep, int limit, int batchcount, int shared, gfp_t gfp)

Type:int

Parameter:

TypeParameterName
struct kmem_cache *cachep
intlimit
intbatchcount
intshared
gfp_tgfp
3899  ret = Always called with the slab_mutex held
3901  If slab_state < FULL Then Return ret
3904  If ret < 0 || Not is_root_cache(cachep) Then Return ret
3907  lockdep_assert_held( & slab_mutex)
3910  Always called with the slab_mutex held
3913  Return ret
Caller
NameDescribe
enable_cpucache
slabinfo_writeslabinfo_write - Tuning for the slab allocator*@file: unused*@buffer: user buffer*@count: data length*@ppos: unused* Return: %0 on success, negative error code otherwise.