Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:pudl_clear - remove a CPU from the cpudl max-heap*@cp: the cpudl max-heap context*@cpu: the target CPU* Notes: assumes cpu_rq(cpu)->lock is locked* Returns: (void)

Proto:void cpudl_clear(struct cpudl *cp, int cpu)

Type:void

Parameter:

TypeParameterName
struct cpudl *cp
intcpu
155  WARN_ON(!cpu_present(cpu))
157  raw_spin_lock_irqsave( & lock, flags)
159  old_idx = idx
160  If old_idx == SPDX-License-Identifier: GPL-2.0 Then Else
167  new_cpu = cpu
168  dl = dl
169  cpu = new_cpu
170  size--
171  idx = old_idx
172  idx = SPDX-License-Identifier: GPL-2.0
173  cpudl_heapify(cp, old_idx)
175  pumask_set_cpu - set a cpu in a cpumask*@cpu: cpu number (< nr_cpu_ids)*@dstp: the cpumask pointer
177  raw_spin_unlock_irqrestore( & lock, flags)