Re: [PATCH linux-5.2.y-rt only] hrtimer: correct the logic for grab expiry lock

From: Rasmus Villemoes
Date: Wed Aug 12 2020 - 07:45:20 EST


On 12/08/2020 12.50, zhantao.tang@xxxxxxxxxxxxx wrote:
> From: Zhantao Tang <zhantao.tang@xxxxxxxxxxxxx>
>
> In commit: 47b6de0b7f22 ("hrtimer: Add a missing bracket and hide `migration_base' on !SMP")
> a inline function is_migration_base() is introduced. But
> the logic of the hrtimer_grab_expiry_lock was changed.
>
> This patch is to correct it.
>

Yup, same patch sent back in April, which also had a fixes tag for 5.2.

https://lore.kernel.org/lkml/20200428144026.5882-1-rasmus.villemoes@xxxxxxxxx/

It got picked up for 4.19-rt, dunno why it wasn't for 5.2-rt.

Rasmus