Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\cgroup-defs.h Create Date:2022-07-28 05:54:56
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:group_threadgroup_change_begin - threadgroup exclusion for cgroups*@tsk: target task* Allows cgroup operations to synchronize against threadgroup changes* using a percpu_rw_semaphore.

Proto:static inline void cgroup_threadgroup_change_begin(struct task_struct *tsk)

Type:void

Parameter:

TypeParameterName
struct task_struct *tsk
727  percpu_down_read( & cgroup_threadgroup_rwsem)
Caller
NameDescribe
copy_processCreate a new process
exit_signals
de_threadThis function makes sure the current process has its own signal table,* so that flush_signal_handlers can later reset the handlers without* disturbing other processes. (Other processes might share the signal* table via the CLONE_SIGHAND option to clone().)