函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\mempolicy.c Create Date:2022-07-27 17:05:50
Last Modify:2020-03-17 22:28:11 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:apply_policy_zone

函数原型:static int apply_policy_zone(struct mempolicy *policy, enum zone_type zone)

返回类型:int

参数:

类型参数名称
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 == 标记为虚拟内存域)
1801  如果非nodes_intersects( interleave/bind , Array of node states.[N_HIGH_MEMORY])则dynamic_policy_zone等于标记为虚拟内存域
1804  返回:zone大于等于dynamic_policy_zone
调用者
名称描述
policy_nodemaskReturn a nodemask representing a mempolicy for filtering nodes for* page allocation