Function report |
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 activity | Download SCCT | Chinese |
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 |
| Name | Describe |
|---|---|
| init_per_zone_wmark_min | Initialise min_free_kbytes |
| sysctl_min_slab_ratio_sysctl_handler |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |