Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932655AbWEXPcq (ORCPT ); Wed, 24 May 2006 11:32:46 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932668AbWEXPcp (ORCPT ); Wed, 24 May 2006 11:32:45 -0400 Received: from gateway-1237.mvista.com ([63.81.120.158]:64188 "EHLO gateway-1237.mvista.com") by vger.kernel.org with ESMTP id S932655AbWEXPcp (ORCPT ); Wed, 24 May 2006 11:32:45 -0400 Subject: Re: Ingo's realtime_preempt patch causes kernel oops From: Sven-Thorsten Dietrich To: tglx@linutronix.de Cc: Steven Rostedt , Yann.LEPROVOST@wavecom.fr, Daniel Walker , linux-kernel@vger.kernel.org, linux-kernel-owner@vger.kernel.org, Ingo Molnar In-Reply-To: <1148476383.5239.54.camel@localhost.localdomain> References: <1148475334.24623.45.camel@localhost.localdomain> <1148476383.5239.54.camel@localhost.localdomain> Content-Type: text/plain Organization: MontaVista Software, Inc. Date: Wed, 24 May 2006 08:32:08 -0700 Message-Id: <1148484729.14683.5.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.6.1 (2.6.1-1.fc5.2) Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 893 Lines: 24 On Wed, 2006-05-24 at 15:13 +0200, Thomas Gleixner wrote: > On Wed, 2006-05-24 at 08:55 -0400, Steven Rostedt wrote: > > Thomas or Ingo, > > > > Maybe the handling of IRQs needs to handle the case that shared irq can > > have both a NODELAY and a thread. The irq descriptor could have a > > NODELAY set if any of the actions are NODELAY, but before calling the > > interrupt handler (in interrupt context), check if the action is NODELAY > > or not, and if not, wake up the thread if not done so already. > > As I said yesterday. You need a demultiplexer for such cases. > Would IRQs stay masked until the thread has finished running? Sven - 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/