Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:We 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

Proto:static void call_usermodehelper_exec_work(struct work_struct *work)

Type:void

Parameter:

TypeParameterName
struct work_struct *work
183  sub_info = container_of - cast a member of a structure out to the containing structure*@ptr: the pointer to the member.*@type: the type of the container struct this is embedded in.*@member: the name of the member within the struct.(work, structsubprocess_info, work)
186  If wait & wait for the process to complete Then
187  Handles UMH_WAIT_PROC.
188  Else
195  pid = Create a kernel thread.
197  If pid < 0 Then
198  retval = pid