Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

hrtimer: Rely on rt_task() for DL tasks too

Checking dl_task() is redundant as rt_task() returns true for deadline
tasks too.

Signed-off-by: Davidlohr Bueso <dave@stgolabs.net>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20230123173206.6764-2-dave@stgolabs.net

authored by

Davidlohr Bueso and committed by
Thomas Gleixner
c14fd3dc 9f76d591

+1 -1
+1 -1
kernel/time/hrtimer.c
··· 2089 2089 u64 slack; 2090 2090 2091 2091 slack = current->timer_slack_ns; 2092 - if (dl_task(current) || rt_task(current)) 2092 + if (rt_task(current)) 2093 2093 slack = 0; 2094 2094 2095 2095 hrtimer_init_sleeper_on_stack(&t, clockid, mode);