Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758222Ab3JKNab (ORCPT ); Fri, 11 Oct 2013 09:30:31 -0400 Received: from www.linutronix.de ([62.245.132.108]:33437 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755467Ab3JKNa3 (ORCPT ); Fri, 11 Oct 2013 09:30:29 -0400 Message-ID: <5257FD6E.6070809@linutronix.de> Date: Fri, 11 Oct 2013 15:30:22 +0200 From: Sebastian Andrzej Siewior User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131005 Icedove/17.0.9 MIME-Version: 1.0 To: Steven Rostedt CC: Mario Kleiner , Mario Kleiner , Peter Hurley , Clark Williams , Daniel Vetter , LKML , "dri-devel@lists.freedesktop.org" , Dave Airlie , Thomas Gleixner , "Luis Claudio R. Goncalves" , intel-gfx , linux-rt-users , =?ISO-8859-1?Q?Ville_Syrj=E4l=E4?= Subject: Re: [Intel-gfx] BUG: sleeping function called from invalid context on 3.10.10-rt7 References: <5230895B.5070400@hurleysoftware.com> <20130911113845.6d56a556@gandalf.local.home> <5230C52E.3050801@hurleysoftware.com> <5238B288.3000704@hurleysoftware.com> <523CC728.4040302@tuebingen.mpg.de> <20130923083841.GT4531@intel.com> <5242674A.8020100@tuebingen.mpg.de> <20130925101301.6cbe5d0f@gandalf.local.home> <52445DEF.1060007@gmail.com> <20131011101800.GE6983@linutronix.de> <20131011083757.7d3db58c@gandalf.local.home> In-Reply-To: <20131011083757.7d3db58c@gandalf.local.home> X-Enigmail-Version: 1.5.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001,URIBL_BLOCKED=0.001 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 975 Lines: 29 On 10/11/2013 02:37 PM, Steven Rostedt wrote: > On Fri, 11 Oct 2013 12:18:00 +0200 > Sebastian Andrzej Siewior wrote: > >> * Mario Kleiner | 2013-09-26 18:16:47 [+0200]: >> >>> Good! I will do that. Thanks for clarifying the irq and constraints >>> on raw locks in the other thread. >> >> Are there any suggestions for "now"? preempt_disable_nort() like Luis >> suggesed? >> > > The preempt_disable_nort() is rather pointless, because the > preempt_disable() was added specifically for -rt. When PREEMPT_RT is > not enabled, preemption is disabled there already by the previous calls > to spin_lock(). Either way. Then I remove the preempt_enable/disable call. Any objections? > -- Steve > Sebastian -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/