Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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 activityDownload SCCTChinese

Name:autogroup_move_group

Proto:static void autogroup_move_group(struct task_struct *p, struct autogroup *ag)

Type:void

Parameter:

TypeParameterName
struct task_struct *p
struct autogroup *ag
142  BUG_ON(!lock_task_sighand(p, & flags))
144  prev = autogroup
145  If prev == ag Then
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)
Caller
NameDescribe
sched_autogroup_create_attachAllocates GFP_KERNEL, cannot be called under any spinlock:
sched_autogroup_detachCannot be called under siglock. Currently has no users: