Re: RFC: SysRq nice-all-RT-tasks is broken
From: Laurent Dufour
Date: Wed Mar 08 2017 - 15:59:39 EST
On 08/03/2017 17:57, Steven Rostedt wrote:
> On Wed, 8 Mar 2017 11:51:14 -0500
> Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:
>
>
>> Hmm, that commit was added in 2.6.18, and you're right, a lot has
>> changed since then. Have you tried removing it and running it under
>> lockdep, and see if it triggers any warnings?
>
> I did a little digging, and it appears that its the rt mutex wait lock
> that the comment was referring to. Today that spin lock is irq safe. I
> believe its safe to remove the BUG_ON(). Want me to send a patch?
Sure, go ahead ;)
Thanks,
Laurent.