函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Note that interrupts must be enabled when calling this function.

函数原型:void kmem_cache_free_bulk(struct kmem_cache *s, size_t size, void **p)

返回类型:void

参数:

类型参数名称
struct kmem_cache *s
size_tsize
void **p
3120  如果WARN_ON(!size)则返回
3123  循环
3126  size等于This function progressively scans the array with free objects (with* a limited look ahead) and extract objects belonging to the same* page. It builds a detached freelist directly within the given* page/objects. This can happen without any need for
3127  如果非page则继续下一循环
3130  slab_free(s, page, freelist, tail, cnt, _RET_IP_)
3131 此条件成立可能性大(为编译器优化)(size)循环
调用者
名称描述
do_kmem_cache_size_bulk
io_submit_state_endBatched submission is done, ensure local IO is flushed out.