diff options
author | Davidlohr Bueso <dave@stgolabs.net> | 2023-01-23 18:32:06 +0100 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2023-01-31 11:23:07 +0100 |
commit | 0c52310f260014d95c1310364379772cb74cf82d (patch) | |
tree | 09732bb44aee542de2ec36497fd7f0a62d7171c9 /include/vdso | |
parent | hrtimer: Rely on rt_task() for DL tasks too (diff) | |
download | linux-0c52310f260014d95c1310364379772cb74cf82d.tar.xz linux-0c52310f260014d95c1310364379772cb74cf82d.zip |
hrtimer: Ignore slack time for RT tasks in schedule_hrtimeout_range()
While in theory the timer can be triggered before expires + delta, for the
cases of RT tasks they really have no business giving any lenience for
extra slack time, so override any passed value by the user and always use
zero for schedule_hrtimeout_range() calls. Furthermore, this is similar to
what the nanosleep(2) family already does with current->timer_slack_ns.
Signed-off-by: Davidlohr Bueso <dave@stgolabs.net>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20230123173206.6764-3-dave@stgolabs.net
Diffstat (limited to 'include/vdso')
0 files changed, 0 insertions, 0 deletions