函数逻辑报告 |
Source Code:mm\mempolicy.c |
Create Date:2022-07-27 17:06:07 |
Last Modify:2020-03-17 22:28:11 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:mempolicy_nodemask_intersects* If tsk's mempolicy is "default" [NULL], return 'true' to indicate default* policy. Otherwise, check for intersection between mask and the policy* nodemask for 'bind' or 'interleave' policy. For 'perferred' or 'local'
函数原型:bool mempolicy_nodemask_intersects(struct task_struct *tsk, const nodemask_t *mask)
返回类型:bool
参数:
类型 | 参数 | 名称 |
---|---|---|
struct task_struct * | tsk | |
const nodemask_t * | mask |
2040 | bool ret = true |
2050 | 当:See MPOL_* above 恒等于MPOL_PREFERRED |
2057 | 退出 |
2058 | 当:See MPOL_* above 恒等于MPOL_BIND |
2059 | 当:See MPOL_* above 恒等于MPOL_INTERLEAVE |
2060 | ret等于nodes_intersects( interleave/bind , * mask) |
2061 | 退出 |
2062 | 默认 |
2063 | BUG() |
2065 | out : |
2066 | task_unlock(tsk) |
2067 | 返回:ret |
名称 | 描述 |
---|---|
oom_cpuset_eligible | m_cpuset_eligible() - check task eligiblity for kill*@start: task struct of which task to consider*@oc: pointer to struct oom_control* Task eligibility is determined by whether or not a candidate task, @tsk,* shares the same mempolicy nodes as current if |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |