函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\slab.c Create Date:2022-07-27 17:17:08
Last Modify:2022-05-23 17:02:55 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:cache_free_pfmemalloc

函数原型:static noinline void cache_free_pfmemalloc(struct kmem_cache *cachep, struct page *page, void *objp)

返回类型:void

参数:

类型参数名称
struct kmem_cache *cachep
struct page *page
void *objp
604  LIST_HEAD(list)
606  page_node等于page_to_nid(page)
607  n等于get_node(cachep, page_node)
609  加自旋锁
610  Caller needs to acquire correct kmem_cache_node's list_lock*@list: List of detached free slabs should be freed by caller
611  自旋锁解锁
613  slabs_destroy(cachep, & list)
调用者
名称描述
___cache_free