函数逻辑报告 |
Source Code:mm\page_alloc.c |
Create Date:2022-07-27 16:38:23 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:__setup_per_zone_wmarks
函数原型:static void __setup_per_zone_wmarks(void)
返回类型:void
参数:无
7726 | lowmem_pages等于0 |
7739 | spin_lock_irqsave( & 自旋锁, flags) |
7740 | tmp等于pages_min乘zone_managed_pages(zone) |
7754 | min_pages等于zone_managed_pages(zone)除1024 |
7757 | 否则 |
7775 | zone watermarks, access with *_wmark_pages(zone) macros [WMARK_HIGH]等于min_wmark_pages(zone)加tmp乘2 |
7776 | watermark_boost等于0 |
7778 | spin_unlock_irqrestore( & 自旋锁, flags) |
7782 | alculate_totalreserve_pages - called when sysctl_lowmem_reserve_ratio* or min_free_kbytes changes. |
名称 | 描述 |
---|---|
setup_per_zone_wmarks | setup_per_zone_wmarks - called when min_free_kbytes changes* or when memory is hot-{added|removed}* Ensures that the watermark[min,low,high] values for each zone are set* correctly with respect to min_free_kbytes. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |