Function report |
Source Code:kernel\cgroup\legacy_freezer.c |
Create Date:2022-07-28 11:14:12 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Tasks can be migrated into a different freezer anytime regardless of its* current state. freezer_attach() is responsible for making new tasks* conform to the current state.* Freezer state changes and task migration are synchronized via*@freezer->lock
Proto:static void freezer_attach(struct cgroup_taskset *tset)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct cgroup_taskset * | tset |
163 | mutex_lock( & freezer_mutex) |
176 | freezer = css_freezer(new_css) |
178 | If Not (state & CGROUP_FREEZING) Then |
179 | __thaw_task(task) |
180 | Else |
183 | When freezer && state & his and its descendants frozen cycle |
184 | state &= ~his and its descendants frozen |
185 | freezer = parent_freezer(freezer) |
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 |