Function report | 
Source Code:mm\mempolicy.c | 
Create Date:2022-07-28 15:32:57 | 
| Last Modify:2020-03-17 22:28:11 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:_nodemask_of_mempolicy* If the current task's mempolicy is "default" [NULL], return 'false'* to indicate default policy
Proto:bool init_nodemask_of_mempolicy(nodemask_t *mask)
Type:bool
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| nodemask_t * | mask | 
| 2003 | Case See MPOL_* above == MPOL_PREFERRED | 
| 2004 | If See set_mempolicy() MPOL_F_* above & preferred local allocation Then nid = Returns the number of the current Node. | 
| 2008 | init_nodemask_of_node(mask, nid) | 
| 2009 | Break | 
| 2011 | Case See MPOL_* above == MPOL_BIND | 
| 2013 | Case See MPOL_* above == MPOL_INTERLEAVE | 
| 2014 | mask = interleave/bind | 
| 2015 | Break | 
| 2017 | Default | 
| 2018 | BUG() | 
| 2020 | task_unlock(current process) | 
| 2022 | Return true | 
| 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  |