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

2019-10-07 Thread Sebastian Andrzej Siewior
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: … >

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

2019-09-25 Thread Andrey Ryabinin
On 9/20/19 1:08 PM, 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: > > [

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

2019-09-20 Thread Julien Grall
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: [ 6951.484876] BUG: sleeping function called from invalid