Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\slub.c Create Date:2022-07-28 15:48:12
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:pfmemalloc_match

Proto:static inline bool pfmemalloc_match(struct page *page, gfp_t gfpflags)

Type:bool

Parameter:

TypeParameterName
struct page *page
gfp_tgfpflags
2481  If Value for the false possibility is greater at compile time(If network-based swap is enabled, sl*b must keep track of whether pages* were allocated from pfmemalloc reserves.) Then Return gfp_pfmemalloc_allowed(gfpflags)
2484  Return true
Caller
NameDescribe
get_partial_nodeTry to allocate a partial slab from a specific node.
___slab_allocSlow path. The lockless freelist is empty or we need to perform* debugging duties.* Processing is still very fast if new objects have been freed to the* regular freelist. In that case we simply take over the regular freelist