From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754417AbbCSQnh (ORCPT ); Thu, 19 Mar 2015 12:43:37 -0400 Received: from g4t3426.houston.hp.com ([15.201.208.54]:50996 "EHLO g4t3426.houston.hp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752188AbbCSQnd (ORCPT ); Thu, 19 Mar 2015 12:43:33 -0400 Message-ID: <550AFC6A.4050901@hp.com> Date: Thu, 19 Mar 2015 10:42:18 -0600 From: Thavatchai Makphaibulchoke User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: Steven Rostedt , Mike Galbraith CC: linux-kernel@vger.kernel.org, linux-rt-users , Thomas Gleixner , Carsten Emde , Sebastian Andrzej Siewior , John Kacur , Paul Gortmaker Subject: Re: [PATCH RT 2/4] Revert "timers: do not raise softirq unconditionally" References: <20150317163541.080310081@goodmis.org> <20150317163617.218582800@goodmis.org> <20150317163551.3093b6c2@gandalf.local.home> <1426753029.4168.80.camel@gmail.com> <20150319122611.0d002d48@gandalf.local.home> In-Reply-To: <20150319122611.0d002d48@gandalf.local.home> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 03/19/2015 10:26 AM, Steven Rostedt wrote: > On Thu, 19 Mar 2015 09:17:09 +0100 > Mike Galbraith wrote: > > >> (aw crap, let's go shopping)... so why is the one in timer.c ok? > > It's not. Sebastian, you said there were no other cases of rt_mutexes > being taken in hard irq context. Looks like timer.c has one. > > So perhaps the real fix is to get that special case of ownership in > hard interrupt context? > > -- Steve > Steve, I'm still working on the fix we discussed using dummy irq_task. I should be able to submit some time next week, if still interested. Either that, or I think we should remove the function spin_do_trylock_in_interrupt() to prevent any possibility of running into similar problems in the future. Thanks, Mak.