函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:setup_min_slab_ratio

函数原型:static void setup_min_slab_ratio(void)

返回类型:void

参数:

7938  r_each_online_pgdat - helper macro to iterate over all online nodes*@pgdat - pointer to a pg_data_t variable(pgdat)
7939  min_slab_pages等于0
7941  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)
7942  min_slab_pages加等于zone_managed_pages(zone)乘If the number of slab pages in a zone grows beyond this percentage then* slab reclaim needs to occur.除100
调用者
名称描述
init_per_zone_wmark_minInitialise min_free_kbytes
sysctl_min_slab_ratio_sysctl_handler