public inbox for stable@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3][5.10, 5.15, 6.1][0/1] hrtimer: Ignore slack time for RT tasks
@ 2024-02-20 15:01 Felix Moessbauer
  2024-02-20 15:02 ` [PATCH v3][5.10, 5.15, 6.1][1/1] hrtimer: Ignore slack time for RT tasks in schedule_hrtimeout_range() Felix Moessbauer
  0 siblings, 1 reply; 3+ messages in thread
From: Felix Moessbauer @ 2024-02-20 15:01 UTC (permalink / raw)
  To: stable; +Cc: dave, tglx, bigeasy, petr.ivanov, jan.kiszka, Felix Moessbauer

Changes since v2:

- added signed-off

Changes since v1:

- added upstream commit id to the commit message

This suggests a fix from 6.3 for stable that fixes a nasty bug in the
timing behavior of periodic RT tasks w.r.t timerslack_ns. While the
documentation clearly states that the slack time is ignored for RT tasks,
this is not the case for the hrtimer code. This patch fixes the issue and
applies to all stable kernels.

Best regards,
Felix Moessbauer
Siemens AG

Davidlohr Bueso (1):
  hrtimer: Ignore slack time for RT tasks in schedule_hrtimeout_range()

 kernel/time/hrtimer.c | 14 +++++++++++---
 1 file changed, 11 insertions(+), 3 deletions(-)

-- 
2.39.2


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-02-20 15:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-20 15:01 [PATCH v3][5.10, 5.15, 6.1][0/1] hrtimer: Ignore slack time for RT tasks Felix Moessbauer
2024-02-20 15:02 ` [PATCH v3][5.10, 5.15, 6.1][1/1] hrtimer: Ignore slack time for RT tasks in schedule_hrtimeout_range() Felix Moessbauer
2024-02-20 15:21   ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox