mbox series

[-tip,0/2] kernel/hrtimer: Ignore slack time for RT tasks

Message ID 20230123173206.6764-1-dave@stgolabs.net
Headers show
Series kernel/hrtimer: Ignore slack time for RT tasks | expand

Message

Davidlohr Bueso Jan. 23, 2023, 5:32 p.m. UTC
Hi,

Patch 2 simply ignores any user passed slack time in the case of RT/DL
tasks for schedule_hrtimeout_range, which is aligned to what nanosleep(2)
already does.

Thanks!

Davidlohr Bueso (2):
  kernel/hrtimer: Rely on rt_task() for DL tasks too
  kernel/hrtimer: Ignore slack time for RT tasks

 kernel/time/hrtimer.c | 16 ++++++++++++----
 1 file changed, 12 insertions(+), 4 deletions(-)