函数逻辑报告 |
Source Code:mm\mmap.c |
Create Date:2022-07-27 16:19:05 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Initialise sysctl_user_reserve_kbytes.* This is intended to prevent a user from starting a single memory hogging* process, such that they cannot recover (kill the hog) in OVERCOMMIT_NEVER* mode.* The default value is min(3% of free memory, 128MB)
函数原型:static int init_user_reserve(void)
返回类型:int
参数:无
3650 | free_kbytes等于global_zone_page_state( First 128 byte cacheline (assuming 64 bit words) )左移PAGE_SHIFT determines the page size 减10位 |
3652 | sysctl_user_reserve_kbytes等于两数取小(free_kbytes / 32, 1UL << 17) |
3653 | 返回:0 |
名称 | 描述 |
---|---|
reserve_mem_notifier | Reinititalise user and admin reserves if memory is added or removed |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |