Function report | 
Source Code:mm\swap_cgroup.c | 
Create Date:2022-07-28 16:15:56 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:swap_cgroup_swapoff
Proto:void swap_cgroup_swapoff(int type)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| int | type | 
| 212 | If Not Whether the swap controller is active Then Return | 
| 215 | mutex_lock( & swap_cgroup_mutex) | 
| 216 | ctrl = swap_cgroup_ctrl[type] | 
| 219 | map = NULL | 
| 220 | length = 0 | 
| 223 | If map Then | 
| 226 | If page Then __free_page(page) | 
| 228 | If Not (i % SWAP_CLUSTER_MAX) Then cond_resched() | 
| Name | Describe | 
|---|---|
| SYSCALL_DEFINE2 | 
| 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  |