Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:pudl_find - find the best (later-dl) CPU in the system*@cp: the cpudl max-heap context*@p: the task*@later_mask: a mask to fill in with the selected CPUs (or NULL)* Returns: int - CPUs were found

Proto:int cpudl_find(struct cpudl *cp, struct task_struct *p, struct cpumask *later_mask)

Type:int

Parameter:

TypeParameterName
struct cpudl *cp
struct task_struct *p
struct cpumask *later_mask
120  dl_se = dl
122  If later_mask && pumask_and - *dstp = *src1p & *src2p*@dstp: the cpumask result*@src1p: the first input*@src2p: the second input* If *@dstp is empty, returns 0, else returns 1 Then
124  Return 1
125  Else
126  best_cpu = cpudl_maximum(cp)
128  WARN_ON(best_cpu != - 1 && !cpu_present(best_cpu))
135  Return 1
138  Return 0