Function report |
Source Code:kernel\cgroup\cgroup.c |
Create Date:2022-07-28 11:07:36 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:group_update_populated - update the populated count of a cgroup*@cgrp: the target cgroup*@populated: inc or dec populated count* One of the css_sets associated with @cgrp is either getting its first* task or losing the last
Proto:static void cgroup_update_populated(struct cgroup *cgrp, bool populated)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct cgroup * | cgrp | |
| bool | populated |
| 803 | lockdep_assert_held( & css_set_lock) |
| 805 | Do |
| 808 | If Not child Then |
| 810 | Else |
| 811 | If cgroup_is_threaded(child) Then nr_populated_threaded_children += adj |
| 813 | Else nr_populated_domain_children += adj |
| 817 | If was_populated == synchronization, the result can only be used as a hint Then Break |
| 821 | cgroup_path() takes a spin lock(notify_populated, cgrp, synchronization, the result can only be used as a hint ) |
| 826 | cgrp = cgroup_parent(cgrp) |
| Name | Describe |
|---|---|
| css_set_update_populated | ss_set_update_populated - update populated state of a css_set*@cset: target css_set*@populated: whether @cset is populated or depopulated*@cset is either getting the first task or losing the last. Update the |
| cgroup_setup_root |
| 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 |