Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:cgroup_wq_init

Proto:static int __init cgroup_wq_init(void)

Type:int

Parameter:Nothing

5759  cgroup destruction makes heavy use of work items and there can be a lot* of concurrent destructions. Use a separate workqueue so that cgroup* destruction work items don't end up filling up max_active of system_wq* which may lead to deadlock. = alloc_workqueue("cgroup_destroy", 0, 1)
5760  BUG_ON(!cgroup destruction makes heavy use of work items and there can be a lot* of concurrent destructions. Use a separate workqueue so that cgroup* destruction work items don't end up filling up max_active of system_wq* which may lead to deadlock.)
5761  Return 0