Function report | 
Source Code:mm\madvise.c | 
Create Date:2022-07-28 15:12:48 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:madvise_behavior_valid
Proto:static bool madvise_behavior_valid(int behavior)
Type:bool
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| int | behavior | 
| 952 | Case behavior == do inherit across fork | 
| 953 | Case behavior == don't inherit across fork | 
| 954 | Case behavior == further special treatment | 
| 955 | Case behavior == xpect sequential page references | 
| 956 | Case behavior == xpect random page references | 
| 957 | Case behavior == move these pages & resources | 
| 958 | Case behavior == will need these pages | 
| 959 | Case behavior == don't need these pages | 
| 960 | Case behavior == pages only if memory pressure | 
| 961 | Case behavior == deactivate these pages | 
| 962 | Case behavior == claim these pages | 
| 964 | Case behavior == KSM may merge identical pages | 
| 965 | Case behavior == KSM may not merge identical pages | 
| 968 | Case behavior == Worth backing with hugepages | 
| 969 | Case behavior == Not worth backing with hugepages | 
| 972 | Case behavior == Clear the MADV_DONTDUMP flag | 
| 973 | Case behavior == Zero memory on fork, child only | 
| 974 | Case behavior == Undo MADV_WIPEONFORK | 
| 976 | Case behavior == soft offline page for testing | 
| 977 | Case behavior == poison a page for testing | 
| 979 | Return true | 
| 981 | Default | 
| 982 | Return false | 
| Name | Describe | 
|---|---|
| SYSCALL_DEFINE3 | The madvise(2) system call | 
| 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  |