Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:free_sched_groups

Proto:static void free_sched_groups(struct sched_group *sg, int free_sgc)

Type:void

Parameter:

TypeParameterName
struct sched_group *sg
intfree_sgc
562  If Not sg Then Return
565  first = sg
566  Do
567  tmp = next
569  If free_sgc && atomic_dec_and_test( & ref) Then free previously allocated memory
572  If atomic_dec_and_test( & ref) Then free previously allocated memory
574  sg = tmp
575  When sg != first cycle
Caller
NameDescribe
destroy_sched_domain
build_overlap_sched_groups
__sdt_free