Function report |
Source Code:mm\vmscan.c |
Create Date:2022-07-28 14:19:32 |
Last Modify:2022-05-23 13:41:30 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Throttle direct reclaimers if backing storage is backed by the network* and the PFMEMALLOC reserve for the preferred node is getting dangerously* depleted. kswapd will continue to make progress and wake the processes* when the low watermark is reached.
Proto:static bool throttle_direct_reclaim(gfp_t gfp_mask, struct zonelist *zonelist, nodemask_t *nodemask)
Type:bool
Parameter:
Type | Parameter | Name |
---|---|---|
gfp_t | gfp_mask | |
struct zonelist * | zonelist | |
nodemask_t * | nodemask |
3186 | If flags & I am a kernel thread Then Go to out |
3193 | If fatal_signal_pending(current process) Then Go to out |
3216 | pgdat = zone_pgdat |
3217 | If allow_direct_reclaim(pgdat) Then Go to out |
3219 | Break |
3227 | Disable counters |
3241 | Go to check_pending |
3248 | check_pending : |
3249 | If fatal_signal_pending(current process) Then Return true |
3252 | out : |
3253 | Return false |
Name | Describe |
---|---|
try_to_free_pages |
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 |