Function report |
Source Code:mm\mempolicy.c |
Create Date:2022-07-28 15:31:29 |
| Last Modify:2020-03-17 22:28:11 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Return nodemask for policy for get_mempolicy() query* Called with task's alloc_lock held
Proto:static void get_policy_nodemask(struct mempolicy *p, nodemask_t *nodes)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct mempolicy * | p | |
| nodemask_t * | nodes |
| 849 | nodes_clear( * nodes) |
| 850 | If p == un-time system-wide default policy => local allocation Then Return |
| 854 | Case See MPOL_* above == MPOL_BIND |
| 856 | Case See MPOL_* above == MPOL_INTERLEAVE |
| 857 | nodes = interleave/bind |
| 858 | Break |
| 859 | Case See MPOL_* above == MPOL_PREFERRED |
| 863 | Break |
| 864 | Default |
| 865 | BUG() |
| Name | Describe |
|---|---|
| do_get_mempolicy | Retrieve NUMA policy |
| 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 |