Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\umh.c Create Date:2022-07-28 09:22:34
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Handles UMH_WAIT_PROC.

Proto:static void call_usermodehelper_exec_sync(struct subprocess_info *sub_info)

Type:void

Parameter:

TypeParameterName
struct subprocess_info *sub_info
134  For kthreads only, must not be used if cloned with CLONE_SIGHAND
135  pid = Create a kernel thread.
136  If pid < 0 Then
137  retval = pid
138  Else
139  ret = -ECHILD
150  kernel_wait4(pid, (int__user * ) & ret, 0, NULL)
157  If ret Then retval = ret
162  For kthreads only, must not be used if cloned with CLONE_SIGHAND
164  umh_complete(sub_info)
Caller
NameDescribe
call_usermodehelper_exec_workWe need to create the usermodehelper kernel thread from a task that is affine* to an optimized set of CPUs (or nohz housekeeping ones) such that they* inherit a widest affinity irrespective of call_usermodehelper() callers with