Re: [RFC PATCH] lib/ubsan: Don't seralize UBSAN report

From: Sebastian Andrzej Siewior
Date: Mon Oct 07 2019 - 12:15:01 EST


On 2019-09-20 11:08:35 [+0100], Julien Grall wrote:
> At the moment, UBSAN report will be serialized using a spin_lock(). On
> RT-systems, spinlocks are turned to rt_spin_lock and may sleep. This will
> result to the following splat if the undefined behavior is in a context
> that can sleep:
â
> So the lock usefulness seems pretty limited. Rather than trying to
> accomodate RT-system by switching to a raw_spin_lock(), the lock is now
> completely dropped.
>
> Reported-by: Andre Przywara <andre.przywara@xxxxxxx>
> Signed-off-by: Julien Grall <julien.grall@xxxxxxx>

I just applied this to my RT tree. Is someone here feeling responsible
to apply this upstream?

Sebastian