Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\mempolicy.c Create Date:2022-07-28 15:32:44
Last Modify:2020-03-17 22:28:11 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:apply_policy_zone

Proto:static int apply_policy_zone(struct mempolicy *policy, enum zone_type zone)

Type:int

Parameter:

TypeParameterName
struct mempolicy *policy
enum zone_typezone
1789  dynamic_policy_zone = Highest zone. An specific allocation for a zone below that is notpolicied.
1791  BUG_ON(dynamic_policy_zone == ZONE_MOVABLE)
1801  If Not nodes_intersects( interleave/bind , Array of node states.[N_HIGH_MEMORY]) Then dynamic_policy_zone = ZONE_MOVABLE
1804  Return zone >= dynamic_policy_zone
Caller
NameDescribe
policy_nodemaskReturn a nodemask representing a mempolicy for filtering nodes for* page allocation