Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:cpudl_heapify_up

Proto:static void cpudl_heapify_up(struct cpudl *cp, int idx)

Type:void

Parameter:

TypeParameterName
struct cpudl *cp
intidx
73  orig_cpu = cpu
74  orig_dl = dl
76  If idx == 0 Then Return
79  Do
80  p = SPDX-License-Identifier: GPL-2.0-only
81  If dl_time_before(orig_dl, dl) Then Break
84  cpu = cpu
85  dl = dl
86  idx = idx
87  idx = p
88  When idx != 0 cycle
90  cpu = orig_cpu
91  dl = orig_dl
92  idx = idx
Caller
NameDescribe
cpudl_heapify
cpudl_setpudl_set - update the cpudl max-heap*@cp: the cpudl max-heap context*@cpu: the target CPU*@dl: the new earliest deadline for this CPU* Notes: assumes cpu_rq(cpu)->lock is locked* Returns: (void)