Re: [PATCH v3 1/1] hrtimer: use and report correct timerslack values for realtime tasks

From: Thomas Gleixner
Date: Wed Aug 14 2024 - 06:43:17 EST


On Tue, Aug 13 2024 at 10:23, Felix MOESSBAUER wrote:
> On Tue, 2024-08-13 at 11:45 +0200, Thomas Gleixner wrote:
>> Why are you declaring that a RT task has to have 0 slack if we are
>> lifting the hard coded slack zeroing in the hrtimer functions?
>
> This is what the manpage states [1]:
>
> + Timer slack is not applied to threads that are scheduled under a
> + real-time scheduling policy (see sched_setscheduler(2)).
>
> [1] https://man7.org/linux/man-pages/man2/PR_SET_TIMERSLACK.2const.html

Fair enough. Mention it in the changelog please.

Thanks,

tglx