函数逻辑报告 |
Source Code:mm\page_alloc.c |
Create Date:2022-07-27 16:38:37 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:percpu_pagelist_fraction - changes the pcp->high for each zone on each* cpu. It is the fraction of total pages in each zone that a hot per cpu* pagelist can have before it gets flushed back to buddy allocator.
函数原型:int percpu_pagelist_fraction_sysctl_handler(struct ctl_table *table, int write, void __user *buffer, size_t *length, loff_t *ppos)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct ctl_table * | table | |
| int | write | |
| void __user * | buffer | |
| size_t * | length | |
| loff_t * | ppos |
| 8002 | ret等于指定大小读sysctl整数向量 |
| 8015 | 如果percpu_pagelist_fraction恒等于old_percpu_pagelist_fraction则转到:out |
| 8018 | 以zone循环如果非Returns true if a zone has memory 则 |
| 8018 | 否则__zone_pcp_update(zone) |
| 8020 | out : |
| 8022 | 返回:ret |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |