Function report |
Source Code:kernel\sched\autogroup.c |
Create Date:2022-07-28 09:43:35 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:autogroup_move_group
Proto:static void autogroup_move_group(struct task_struct *p, struct autogroup *ag)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct task_struct * | p | |
| struct autogroup * | ag |
| 142 | BUG_ON(!lock_task_sighand(p, & flags)) |
| 146 | unlock_task_sighand(p, & flags) |
| 147 | Return |
| 150 | autogroup = autogroup_kref_get(ag) |
| 162 | for_each_thread(p, t) |
| 163 | sched_move_task(t) |
| 165 | unlock_task_sighand(p, & flags) |
| 166 | autogroup_kref_put(prev) |
| Name | Describe |
|---|---|
| sched_autogroup_create_attach | Allocates GFP_KERNEL, cannot be called under any spinlock: |
| sched_autogroup_detach | Cannot be called under siglock. Currently has no users: |
| 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 |