Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:cache_free_pfmemalloc

Proto:static noinline void cache_free_pfmemalloc(struct kmem_cache *cachep, struct page *page, void *objp)

Type:void

Parameter:

TypeParameterName
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  spin_lock( & list_lock)
610  Caller needs to acquire correct kmem_cache_node's list_lock*@list: List of detached free slabs should be freed by caller
611  spin_unlock( & list_lock)
613  slabs_destroy(cachep, & list)
Caller
NameDescribe
___cache_free