Function report |
Source Code:mm\mempolicy.c |
Create Date:2022-07-28 15:33:11 |
| Last Modify:2020-03-17 22:28:11 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Slow path of a mempolicy comparison
Proto:bool __mpol_equal(struct mempolicy *a, struct mempolicy *b)
Type:bool
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct mempolicy * | a | |
| struct mempolicy * | b |
| 2269 | If See MPOL_* above != See MPOL_* above Then Return false |
| 2271 | If See set_mempolicy() MPOL_F_* above != See set_mempolicy() MPOL_F_* above Then Return false |
| 2273 | If mpol_store_user_nodemask(a) Then If Not nodes_equal( nodemask passed by user , nodemask passed by user ) Then |
| 2275 | Return false |
| 2278 | Case See MPOL_* above == MPOL_BIND |
| 2280 | Case See MPOL_* above == MPOL_INTERLEAVE |
| 2281 | Return Not Not nodes_equal( interleave/bind , interleave/bind ) |
| 2282 | Case See MPOL_* above == MPOL_PREFERRED |
| 2284 | If See set_mempolicy() MPOL_F_* above & preferred local allocation Then Return true |
| 2287 | Default |
| 2288 | BUG() |
| 2289 | Return false |
| 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 |