Function report | 
Source Code:mm\vmscan.c | 
Create Date:2022-07-28 14:19:46 | 
| Last Modify:2022-05-23 13:41:30 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:Prepare kswapd for sleeping. This verifies that there are no processes* waiting in throttle_direct_reclaim() and that watermarks have been met.* Returns true if kswapd is ready to sleep
Proto:static bool prepare_kswapd_sleep(pg_data_t *pgdat, int order, int classzone_idx)
Type:bool
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| pg_data_t * | pgdat | |
| int | order | |
| int | classzone_idx | 
| 3503 | If Number of 'reclaimed == 0' runs >= Maximum number of reclaim retries without progress before the OOM* killer is consider the only way forward. Then Return true | 
| 3508 | Return true | 
| 3511 | Return false | 
| Name | Describe | 
|---|---|
| kswapd_try_to_sleep | 
| 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  |