Function report |
Source Code:kernel\sched\cpudeadline.c |
Create Date:2022-07-28 09:41:35 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:pudl_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)
Proto:void cpudl_set(struct cpudl *cp, int cpu, u64 dl)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct cpudl * | cp | |
| int | cpu | |
| u64 | dl |
| 195 | WARN_ON(!cpu_present(cpu)) |
| 197 | raw_spin_lock_irqsave( & lock, flags) |
| 200 | If old_idx == SPDX-License-Identifier: GPL-2.0 Then |
| 206 | cpudl_heapify_up(cp, new_idx) |
| 208 | Else |
| 210 | cpudl_heapify(cp, old_idx) |
| 213 | raw_spin_unlock_irqrestore( & lock, flags) |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |