Function report |
Source Code:kernel\cgroup\cgroup.c |
Create Date:2022-07-28 11:09:14 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:group_lock_and_drain_offline - lock cgroup_mutex and drain offlined csses*@cgrp: root of the target subtree* Because css offlining is asynchronous, userland may try to re-enable a* controller while the previous css is still around. This function grabs
Proto:void cgroup_lock_and_drain_offline(struct cgroup *cgrp)__acquires(&cgroup_mutex)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct cgroup * | cgrp |
2936 | restart : |
2939 | walk live descendants in postorder (dsct, d_css, cgrp) |
2942 | DEFINE_WAIT(wait) |
2947 | cgroup_get_live(dsct) |
2952 | schedule() |
2955 | cgroup_put(dsct) |
2956 | Go to restart |
Name | Describe |
---|---|
cgroup_destroy_root | |
cgroup_kn_lock_live | group_kn_lock_live - locking helper for cgroup kernfs methods*@kn: the kernfs_node being serviced*@drain_offline: perform offline draining on the cgroup* This helper is to be used by a cgroup kernfs method currently servicing*@kn |
cgroup1_reconfigure | |
cgroup1_get_tree |
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 |