[PATCH 0/2] hrtimer: More fixes for handling of timer slack of rt tasks

Felix Moessbauer posted 2 patches 1 year, 6 months ago
There is a newer version of this series
kernel/time/hrtimer.c | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
[PATCH 0/2] hrtimer: More fixes for handling of timer slack of rt tasks
Posted by Felix Moessbauer 1 year, 6 months ago
This series fixes the (hopefully) last location of an incorrectly
handled timer slack on rt tasks in hrtimer_start_range_ns(), which was
uncovered by a userland change in glibc 2.33. Along that, the patch documents,
that currently all tasks with rt priority should ignore the timer slack.

For me, it is unclear though, if this behavior is actually intended, as
also PI boosted tasks that create or reprogram timers ignore the timer slack.
While I guess this does not have an effect in most cases, it is at least
a lost performance optimization chance. Instead, ignoring the timer
slack could be limited to tasks with RT/DL scheduling policies.

Best regards,
Felix Moessbauer
Siemens AG

Felix Moessbauer (2):
  hrtimer: Document, that PI boosted tasks have no timer slack
  hrtimer: Ignore slack time for RT tasks in hrtimer_start_range_ns()

 kernel/time/hrtimer.c | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

-- 
2.39.2