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

2018-05-04 Thread Daniel Wagner
From: Sebastian Andrzej Siewior 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...@vger.kernel.org Signed-off-by

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

2018-04-04 Thread Sebastian Andrzej Siewior
On 2018-04-03 20:32:36 [+0200], Daniel Wagner wrote: > 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

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

2018-04-03 Thread Daniel Wagner
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:

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

2018-03-28 Thread Sebastian Andrzej Siewior
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...@vger.kernel.org Signed-off-by: Sebastian Andrzej Siewior ---