Re: [PATCH 1/2] target: drop spin_lock_assert() + irqs_disabled() combo checks
From: bigeasy@xxxxxxxxxxxxx
Date: Mon Jun 04 2018 - 03:16:40 EST
On 2018-06-04 07:02:15 [+0000], Bart Van Assche wrote:
>
> Would adding WARN_ON_ONCE(!irqs_disabled()) work fine with an RT kernel?
no, because the interrupts are not disabled at this point on RT.
Lockdep works fine on RT.
> Thanks,
>
> Bart.
Sebastian