Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\page_alloc.c Create Date:2022-07-28 15:08:21
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:setup_min_slab_ratio

Proto:static void setup_min_slab_ratio(void)

Type:void

Parameter:Nothing

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
Caller
NameDescribe
init_per_zone_wmark_minInitialise min_free_kbytes
sysctl_min_slab_ratio_sysctl_handler