函数逻辑报告 |
Source Code:mm\ksm.c |
Create Date:2022-07-27 17:15:19 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:ksm_madvise
函数原型:int ksm_madvise(struct vm_area_struct *vma, unsigned long start, unsigned long end, int advice, unsigned long *vm_flags)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct vm_area_struct * | vma | |
unsigned long | start | |
unsigned long | end | |
int | advice | |
unsigned long * | vm_flags |
2435 | 当:advice恒等于KSM may merge identical pages |
2444 | 如果vma_is_dax(vma)则返回:0 |
2457 | err等于__ksm_enter(mm) |
2463 | 退出 |
2466 | 如果非vm_flags按位与KSM may merge identical pages 的值则返回:0 |
2469 | 如果Serialized by page_table_lock 则 |
2475 | vm_flags与等于KSM may merge identical pages 的反 |
2476 | 退出 |
2479 | 返回:0 |
名称 | 描述 |
---|---|
madvise_behavior | We can potentially split a vm area into separate* areas, each area with its own behavior. |
move_vma |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |