Function report |
Source Code:mm\mempolicy.c |
Create Date:2022-07-28 15:32:59 |
Last Modify:2020-03-17 22:28:11 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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'
Proto:bool mempolicy_nodemask_intersects(struct task_struct *tsk, const nodemask_t *mask)
Type:bool
Parameter:
Type | Parameter | Name |
---|---|---|
struct task_struct * | tsk | |
const nodemask_t * | mask |
2040 | bool ret = true |
2050 | Case See MPOL_* above == MPOL_PREFERRED |
2057 | Break |
2058 | Case See MPOL_* above == MPOL_BIND |
2059 | Case See MPOL_* above == MPOL_INTERLEAVE |
2060 | ret = nodes_intersects( interleave/bind , * mask) |
2061 | Break |
2062 | Default |
2063 | BUG() |
2065 | out : |
2066 | task_unlock(tsk) |
2067 | Return ret |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |