函数逻辑报告 |
Source Code:mm\memory.c |
Create Date:2022-07-27 16:11:26 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Process all subpages of the specified huge page with the specified* operation. The target subpage will be processed last to keep its* cache lines hot.
函数原型:static inline void process_huge_page(unsigned long addr_hint, unsigned int pages_per_huge_page, void (*process_subpage)(unsigned long addr, int idx, void *arg), void *arg)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
unsigned long | addr_hint | |
unsigned int | pages_per_huge_page | |
void (* | process_subpage | |
void * | arg |
4633 | addr等于addr_hint按位与pages_per_huge_page左移PAGE_SHIFT determines the page size 位的值减1的差的反 |
4637 | might_sleep() |
4639 | 如果2乘n小于等于pages_per_huge_page则 |
4641 | base等于0 |
4645 | cond_resched() |
4648 | 否则 |
4650 | base等于pages_per_huge_page减2乘pages_per_huge_page减n的差 |
4651 | l等于pages_per_huge_page减n |
4654 | cond_resched() |
4666 | cond_resched() |
4668 | cond_resched() |
名称 | 描述 |
---|---|
clear_huge_page | |
copy_user_huge_page |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |