Re: [PATCH RT 1/3] alarmtimer: Prevent live lock in alarm_cancel()

From: Daniel Wagner
Date: Tue Apr 03 2018 - 14:32:50 EST


Hi Sebastian,

On 03/28/2018 12:07 PM, Sebastian Andrzej Siewior wrote:
If alarm_try_to_cancel() requires a retry, then depending on the
priority setting the retry loop might prevent timer callback completion
on RT. Prevent that by waiting for completion on RT, no change for a
non RT kernel.

Cc: stable-rt@xxxxxxxxxxxxxxx

How relevant is this serie for trees before eae1c4ae275f ("posix-timers: Make use of cancel/arm callbacks")? Patch #2 seems to depend on that change which was added in v4.12.

Thanks,
Daniel