Function report | 
Source Code:mm\slab.c | 
Create Date:2022-07-28 15:46:19 | 
| Last Modify:2022-05-23 17:02:55 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:ache_reap - Reclaim memory from caches
Proto:static void cache_reap(struct work_struct *w)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct work_struct * | w | 
| 4033 | work = to_delayed_work(w) | 
| 4035 | If Not mutex_trylock - try to acquire the mutex, without waiting*@lock: the mutex to be acquired* Try to acquire the mutex atomically Then Go to out | 
| 4040 | check_irq_on() | 
| 4060 | next_reap = jiffies + REAPTIMEOUT_NODE | 
| 4064 | If free_touched Then free_touched = 0 | 
| 4066 | Else | 
| 4069 | freed = drain_freelist(searchp, n, (free_limit + 5 * num - 1) / (5 * num)) | 
| 4071 | STATS_ADD_REAPED(searchp, freed) | 
| 4073 | next : | 
| 4074 | cond_resched() | 
| 4076 | check_irq_on() | 
| 4078 | next_reap_node() | 
| 4079 | out : | 
| 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  |