函数逻辑报告 |
Source Code:mm\memcontrol.c |
Create Date:2022-07-27 17:42:58 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Some nice accessors for the vmpressure.
函数原型:struct vmpressure *memcg_to_vmpressure(struct mem_cgroup *memcg)
返回类型:struct vmpressure
参数:
类型 | 参数 | 名称 |
---|---|---|
struct mem_cgroup * | memcg |
249 | 如果非memcg则memcg等于root_mem_cgroup |
251 | 返回: vmpressure notifications |
名称 | 描述 |
---|---|
vmpressure_parent | |
vmpressure | vmpressure() - Account memory pressure through scanned/reclaimed ratio*@gfp: reclaimer's gfp mask*@memcg: cgroup memory controller handle*@tree: legacy subtree mode*@scanned: number of pages scanned*@reclaimed: number of pages reclaimed* This function |
vmpressure_register_event | vmpressure_register_event() - Bind vmpressure notifications to an eventfd*@memcg: memcg that is interested in vmpressure notifications*@eventfd: eventfd context to link notifications with*@args: event arguments (pressure level threshold, optional mode)* |
vmpressure_unregister_event | vmpressure_unregister_event() - Unbind eventfd from vmpressure*@memcg: memcg handle*@eventfd: eventfd context that was used to link vmpressure with the @cg* This function does internal manipulations to detach the @eventfd from* the vmpressure |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |