函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\page_alloc.c Create Date:2022-07-27 16:38:30
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:setup_min_unmapped_ratio

函数原型:static void setup_min_unmapped_ratio(void)

返回类型:void

参数:

7910  r_each_online_pgdat - helper macro to iterate over all online nodes*@pgdat - pointer to a pg_data_t variable(pgdat)
7911  * zone reclaim becomes active if more unmapped pages exist.等于0
7913  r_each_zone - helper macro to iterate over all memory zones*@zone - pointer to struct zone variable* The user only needs to declare the zone variable, for_each_zone* fills it in.(zone)
7914  * zone reclaim becomes active if more unmapped pages exist.加等于zone_managed_pages(zone)乘Percentage of pages in a zone that must be unmapped for node_reclaim to* occur.除100
调用者
名称描述
init_per_zone_wmark_minInitialise min_free_kbytes
sysctl_min_unmapped_ratio_sysctl_handler