函数逻辑报告 |
Source Code:kernel\sched\psi.c |
Create Date:2022-07-27 10:47:04 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:psi_memstall_leave - mark the end of an memory stall section*@flags: flags to handle nested memdelay sections* Marks the calling task as no longer stalled due to lack of memory.
函数原型:void psi_memstall_leave(unsigned long *flags)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
unsigned long * | flags |
848 | 如果static_branch_likely( & psi_disabled)则返回 |
851 | 如果flags则返回 |
858 | rq等于this_rq_lock_irq( & rf) |
860 | flags与等于Stalled due to lack of memory 的反 |
861 | psi_task_change(当前进程, TSK_MEMSTALL, 0) |
863 | rq_unlock_irq(rq, & rf) |
名称 | 描述 |
---|---|
try_to_free_mem_cgroup_pages | |
balance_pgdat | For kswapd, balance_pgdat() will reclaim pages across a node from zones* that are eligible for use by the caller until at least one zone is* balanced.* Returns the order kswapd finished reclaiming at. |
__perform_reclaim | Perform direct synchronous page reclaim |
swap_readpage | |
mem_cgroup_handle_over_high | Scheduled by try_charge() to be executed from the userland return path* and reclaims memory over the high limit. |
blkcg_maybe_throttle_blkg | This is called when we want to actually walk up the hierarchy and check to* see if we need to throttle, and then actually throttle if there is some* accumulated delay. This should only be called upon return to user space so |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |