From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754446AbdCHU73 (ORCPT ); Wed, 8 Mar 2017 15:59:29 -0500 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:38631 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754411AbdCHU72 (ORCPT ); Wed, 8 Mar 2017 15:59:28 -0500 Subject: Re: RFC: SysRq nice-all-RT-tasks is broken To: Steven Rostedt References: <20170308115114.4e20fc73@gandalf.local.home> <20170308115758.43b38bc7@gandalf.local.home> Cc: Andrew Morton , Linux Kernel Mailing List , Thomas Gleixner , Ingo Molnar From: Laurent Dufour Date: Wed, 8 Mar 2017 18:03:55 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 MIME-Version: 1.0 In-Reply-To: <20170308115758.43b38bc7@gandalf.local.home> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 x-cbid: 17030817-0012-0000-0000-000004DE60CA X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 17030817-0013-0000-0000-00001786F7A9 Message-Id: <22b0e5fe-2aa1-72de-4d00-29d768d226ca@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2017-03-08_12:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1702020001 definitions=main-1703080136 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 08/03/2017 17:57, Steven Rostedt wrote: > On Wed, 8 Mar 2017 11:51:14 -0500 > Steven Rostedt 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.