函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\slub.c Create Date:2022-07-27 17:22:59
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:set_min_partial

函数原型:static void set_min_partial(struct kmem_cache *s, unsigned long min)

返回类型:void

参数:

类型参数名称
struct kmem_cache *s
unsigned longmin
3449  如果min小于Mininum number of partial slabs. These will be left on the partial* lists even if they are empty. kmem_cache_shrink may reclaim them.min等于Mininum number of partial slabs. These will be left on the partial* lists even if they are empty. kmem_cache_shrink may reclaim them.
3451  否则如果min大于Maximum number of desirable partial slabs.* The existence of more partial slabs makes kmem_cache_shrink* sort the partial list by the number of objects in use.min等于Maximum number of desirable partial slabs.* The existence of more partial slabs makes kmem_cache_shrink* sort the partial list by the number of objects in use.
3453  min_partial等于min
调用者
名称描述
kmem_cache_open