函数逻辑报告 |
Source Code:mm\page_alloc.c |
Create Date:2022-07-27 16:38:18 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:setup_per_zone_lowmem_reserve - called whenever* sysctl_lowmem_reserve_ratio changes. Ensures that each zone* has a correct pages reserved value, so an adequate number of* pages are left in the zone after a successful __alloc_pages().
函数原型:static void setup_per_zone_lowmem_reserve(void)
返回类型:void
参数:无
7694 | 以j小于MAX_NR_ZONES循环 |
7695 | zone等于包含了结点中各内存域的数据结构加j |
7696 | managed_pages等于zone_managed_pages(zone) |
7704 | idx自减 |
7705 | lower_zone等于包含了结点中各内存域的数据结构加idx |
7710 | 否则 |
7720 | alculate_totalreserve_pages - called when sysctl_lowmem_reserve_ratio* or min_free_kbytes changes. |
名称 | 描述 |
---|---|
init_per_zone_wmark_min | Initialise min_free_kbytes |
lowmem_reserve_ratio_sysctl_handler | lowmem_reserve_ratio_sysctl_handler - just a wrapper around* proc_dointvec() so that we can call setup_per_zone_lowmem_reserve()* whenever sysctl_lowmem_reserve_ratio changes.* The reserve ratio obviously has absolutely no relation with the |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |