Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\cpuset.h Create Date:2022-07-28 05:47:57
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:cpuset_zone_allowed

Proto:static inline bool cpuset_zone_allowed(struct zone *z, gfp_t gfp_mask)

Type:bool

Parameter:

TypeParameterName
struct zone *z
gfp_tgfp_mask
219  Return true
Caller
NameDescribe
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.