Function report |
Source Code:mm\memcontrol.c |
Create Date:2022-07-28 16:11:49 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:mem_cgroup_swappiness_write
Proto:static int mem_cgroup_swappiness_write(struct cgroup_subsys_state *css, struct cftype *cft, u64 val)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct cgroup_subsys_state * | css | |
| struct cftype * | cft | |
| u64 | val |
| 3821 | memcg = mem_cgroup_from_css(css) |
| 3826 | If PI: the parent css. Placed here for cache proximity to following* fields of the containing structure. Then swappiness = val |
| 3828 | Else From 0 .. 100. Higher means more swappy. = val |
| 3831 | Return 0 |
| 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 |