函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\cpuset.h Create Date:2022-07-27 06:48:22
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:cpuset_zone_allowed

函数原型:static inline bool cpuset_zone_allowed(struct zone *z, gfp_t gfp_mask)

返回类型:bool

参数:

类型参数名称
struct zone *z
gfp_tgfp_mask
219  返回:true
调用者
名称描述
constrained_allocDetermine the type of allocation constraint.
shrink_zonesThis is the direct reclaim path, for page-allocating processes. We only* try to reclaim pages from zones which will satisfy the caller's allocation* request.* If a zone is deemed to be full of pinned pages then just give it a light
wakeup_kswapdA zone is low on free memory or too fragmented for high-order memory
dequeue_huge_page_nodemask
fallback_allocFallback function if there was no memory available and no objects on a* certain node and fall back is permitted. First we scan all the* available node for available objects. If that fails then we* perform an allocation without specifying a node
get_any_partialGet a page from somewhere. Search in increasing NUMA distances.