Function report | 
Source Code:mm\swap_cgroup.c | 
Create Date:2022-07-28 16:15:43 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:allocate buffer for swap_cgroup.
Proto:static int swap_cgroup_prepare(int type)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| int | type | 
| 45 | ctrl = swap_cgroup_ctrl[type] | 
| 48 | page = alloc_page(GFP_KERNEL | __GFP_ZERO) | 
| 49 | If Not page Then Go to not_enough_page | 
| 53 | If Not (idx % SWAP_CLUSTER_MAX) Then cond_resched() | 
| 56 | Return 0 | 
| 57 | not_enough_page : | 
| 62 | Return -ENOMEM | 
| Name | Describe | 
|---|---|
| swap_cgroup_swapon | 
| 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  |