Re: RFC: SysRq nice-all-RT-tasks is broken

From: Steven Rostedt
Date: Wed Mar 08 2017 - 11:59:10 EST


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?

-- Steve