/linux/kernel/sched/ |
H A D | deadline.c | 3 * Deadline Scheduling Class (SCHED_DEADLINE) 5 * Earliest Deadline First (EDF) + Constant Bandwidth Server (CBS). 367 * A flag in the deadline scheduling entity (dl_non_contending) 416 * If this is a non-deadline task that has been boosted, in task_non_contending() 427 zerolag_time = dl_se->deadline - in task_non_contending() 477 * If this is a non-deadline task that has been boosted, in task_contending() 529 /* zero means no -deadline tasks */ in init_dl_rq() 584 * The list of pushable -deadline task is not a plist, like in 585 * sched_rt.c, it is an rb-tree with tasks ordered by deadline. 597 rq->dl.earliest_dl.next = p->dl.deadline; in enqueue_pushable_dl_task() [all …]
|
/linux/Documentation/scheduler/ |
H A D | sched-rt-group.rst | 96 this only serves for admission control of deadline tasks. With 161 as its prone to starvation without deadline scheduling. 178 The next project will be SCHED_EDF (Earliest Deadline First scheduling) to bring 179 full deadline scheduling to the linux kernel. Deadline scheduling the above 180 groups and treating end of the period as a deadline will ensure that they both 185 the limited static priority levels 0-99. With deadline scheduling you need to 186 do deadline inheritance (since priority is inversely proportional to the 187 deadline delta (deadline - now)).
|
/linux/Documentation/block/ |
H A D | deadline-iosched.rst | 2 Deadline IO scheduler tunables 5 This little file attempts to document how the deadline io scheduler works. 19 The goal of the deadline io scheduler is to attempt to guarantee a start 22 a deadline that is the current time + the read_expire value in units of 37 deadline expiries are only checked between batches. fifo_batch controls the
|
H A D | switching-sched.rst | 17 the fly to select one of mq-deadline, none, bfq, or kyber schedulers - 32 [mq-deadline] kyber bfq none 35 [none] mq-deadline kyber bfq
|
/linux/drivers/ata/ |
H A D | ahci_xgene.c | 114 unsigned long deadline; in xgene_ahci_poll_reg_val() local 118 deadline = ata_deadline(jiffies, timeout); in xgene_ahci_poll_reg_val() 120 while (tmp != val && time_before(jiffies, deadline)) { in xgene_ahci_poll_reg_val() 303 * @deadline: deadline jiffies for the operation 348 unsigned long deadline, bool *online) in xgene_ahci_do_hardreset() argument 367 rc = sata_link_hardreset(link, timing, deadline, online, in xgene_ahci_do_hardreset() 388 unsigned long deadline) in xgene_ahci_hardreset() argument 410 rc = xgene_ahci_do_hardreset(link, deadline, &online); in xgene_ahci_hardreset() 439 * @deadline: deadline jiffies for the operation 449 unsigned long deadline) in xgene_ahci_pmp_softreset() argument [all …]
|
H A D | libata-sata.c | 217 * @deadline: deadline jiffies for the operation 226 * @timeout is further limited by @deadline. The sooner of the 236 unsigned long deadline) in sata_link_debounce() argument 245 if (time_before(t, deadline)) in sata_link_debounce() 246 deadline = t; in sata_link_debounce() 263 if (cur == 1 && time_before(jiffies, deadline)) in sata_link_debounce() 275 /* Check deadline. If debouncing failed, return in sata_link_debounce() 278 if (time_after(jiffies, deadline)) in sata_link_debounce() 288 * @deadline: deadline jiffies for the operation 299 unsigned long deadline) in sata_link_resume() argument [all …]
|
H A D | ahci_da850.c | 94 unsigned int *class, unsigned long deadline) in ahci_da850_softreset() argument 107 ret = ahci_do_softreset(link, class, pmp, deadline, ahci_check_ready); in ahci_da850_softreset() 110 deadline, ahci_check_ready); in ahci_da850_softreset() 116 unsigned int *class, unsigned long deadline) in ahci_da850_hardreset() argument 130 ret = ahci_do_hardreset(link, class, deadline, &online); in ahci_da850_hardreset()
|
H A D | pata_ns87410.c | 21 * @deadline: deadline jiffies for the operation 26 static int ns87410_pre_reset(struct ata_link *link, unsigned long deadline) in ns87410_pre_reset() argument 38 return ata_sff_prereset(link, deadline); in ns87410_pre_reset()
|
H A D | pata_marvell.c | 57 * @deadline: deadline jiffies for the operation 62 static int marvell_pre_reset(struct ata_link *link, unsigned long deadline) in marvell_pre_reset() argument 71 return ata_sff_prereset(link, deadline); in marvell_pre_reset()
|
H A D | pata_jmicron.c | 33 * @deadline: deadline jiffies for the operation 42 static int jmicron_pre_reset(struct ata_link *link, unsigned long deadline) in jmicron_pre_reset() argument 105 return ata_sff_prereset(link, deadline); in jmicron_pre_reset()
|
H A D | pata_opti.c | 49 * @deadline: deadline jiffies for the operation 54 static int opti_pre_reset(struct ata_link *link, unsigned long deadline) in opti_pre_reset() argument 66 return ata_sff_prereset(link, deadline); in opti_pre_reset()
|
H A D | pata_triflex.c | 38 * @deadline: deadline jiffies for the operation 43 static int triflex_prereset(struct ata_link *link, unsigned long deadline) in triflex_prereset() argument 56 return ata_sff_prereset(link, deadline); in triflex_prereset()
|
H A D | pata_amd.c | 126 * @deadline: deadline jiffies for the operation 132 static int amd_pre_reset(struct ata_link *link, unsigned long deadline) in amd_pre_reset() argument 145 return ata_sff_prereset(link, deadline); in amd_pre_reset() 324 * @deadline: deadline jiffies for the operation 330 static int nv_pre_reset(struct ata_link *link, unsigned long deadline) in nv_pre_reset() argument 343 return ata_sff_prereset(link, deadline); in nv_pre_reset()
|
H A D | pata_acpi.c | 32 * @deadline: deadline jiffies for the operation 37 static int pacpi_pre_reset(struct ata_link *link, unsigned long deadline) in pacpi_pre_reset() argument 44 return ata_sff_prereset(link, deadline); in pacpi_pre_reset()
|
H A D | pata_oldpiix.c | 33 * @deadline: deadline jiffies for the operation 38 static int oldpiix_pre_reset(struct ata_link *link, unsigned long deadline) in oldpiix_pre_reset() argument 50 return ata_sff_prereset(link, deadline); in oldpiix_pre_reset()
|
H A D | ahci_dm816.c | 104 unsigned int *class, unsigned long deadline) in ahci_dm816_softreset() argument 117 ret = ahci_do_softreset(link, class, pmp, deadline, ahci_check_ready); in ahci_dm816_softreset() 120 deadline, ahci_check_ready); in ahci_dm816_softreset()
|
H A D | pata_efar.c | 31 * @deadline: deadline jiffies for the operation 37 static int efar_pre_reset(struct ata_link *link, unsigned long deadline) in efar_pre_reset() argument 49 return ata_sff_prereset(link, deadline); in efar_pre_reset()
|
/linux/include/uapi/linux/ |
H A D | sync_file.h | 80 * struct sync_set_deadline - SYNC_IOC_SET_DEADLINE - set a deadline hint on a fence 81 * @deadline_ns: absolute time of the deadline 84 * Allows userspace to set a deadline on a fence, see &dma_fence_set_deadline 86 * The timebase for the deadline is CLOCK_MONOTONIC (same as vblank). For
|
/linux/include/trace/events/ |
H A D | libata.h | 527 TP_PROTO(struct ata_link *link, unsigned int *class, unsigned long deadline), 529 TP_ARGS(link, class, deadline), 534 __field( unsigned long, deadline ) 540 __entry->deadline = deadline; 543 TP_printk("ata_port=%u deadline=%lu classes=[%s,%s]", 544 __entry->ata_port, __entry->deadline, 550 TP_PROTO(struct ata_link *link, unsigned int *class, unsigned long deadline), 551 TP_ARGS(link, class, deadline)); 554 TP_PROTO(struct ata_link *link, unsigned int *class, unsigned long deadline), 555 TP_ARGS(link, class, deadline)); [all …]
|
/linux/drivers/gpu/drm/msm/ |
H A D | msm_fence.h | 62 /** next_deadline: Time of next deadline */ 68 * Fence value for next pending deadline. The deadline timer is
|
/linux/block/ |
H A D | Kconfig.iosched | 5 tristate "MQ deadline I/O scheduler" 8 MQ version of the deadline IO scheduler.
|
/linux/include/uapi/linux/sched/ |
H A D | types.h | 51 * - the deadline (relative to the actual activation time) of each 57 * the instance activation time + the deadline. 61 * @sched_deadline representative of the task's deadline in nanoseconds
|
/linux/drivers/net/phy/mscc/ |
H A D | mscc_serdes.c | 312 unsigned long deadline; in vsc85xx_sd6g_config_v2() local 381 deadline = jiffies + msecs_to_jiffies(PROC_CMD_NCOMPLETED_TIMEOUT_MS); in vsc85xx_sd6g_config_v2() 390 } while (time_before(jiffies, deadline) && (val32 & BIT(12))); in vsc85xx_sd6g_config_v2() 474 deadline = jiffies + msecs_to_jiffies(PROC_CMD_NCOMPLETED_TIMEOUT_MS); in vsc85xx_sd6g_config_v2() 483 } while (time_before(jiffies, deadline) && (~val32 & BIT(8))); in vsc85xx_sd6g_config_v2() 630 deadline = jiffies + msecs_to_jiffies(PROC_CMD_NCOMPLETED_TIMEOUT_MS); in vsc85xx_sd6g_config_v2() 639 } while (time_before(jiffies, deadline) && (val32 & BIT(12))); in vsc85xx_sd6g_config_v2()
|
/linux/fs/afs/ |
H A D | validation.c | 125 time64_t deadline = ktime_get_real_seconds() + 10; in afs_check_validity() local 134 else if (cb_expires_at <= deadline) in afs_check_validity() 136 else if (volume->cb_expires_at <= deadline) in afs_check_validity() 395 time64_t deadline = ktime_get_real_seconds() + 10; in afs_validate() local 420 if (volume->cb_expires_at <= deadline || in afs_validate() 436 volume->cb_expires_at <= deadline || in afs_validate() 438 atomic64_read(&vnode->cb_expires_at) <= deadline in afs_validate()
|
/linux/drivers/bcma/ |
H A D | driver_chipcommon_b.c | 17 unsigned long deadline = jiffies + timeout; in bcma_wait_reg() local 26 } while (!time_after_eq(jiffies, deadline)); in bcma_wait_reg()
|