Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755896Ab0LPNNd (ORCPT ); Thu, 16 Dec 2010 08:13:33 -0500 Received: from www.tglx.de ([62.245.132.106]:44629 "EHLO www.tglx.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755805Ab0LPNNc (ORCPT ); Thu, 16 Dec 2010 08:13:32 -0500 Date: Thu, 16 Dec 2010 14:13:06 +0100 (CET) From: Thomas Gleixner To: Jan Kiszka cc: Avi Kivity , Marcelo Tosatti , linux-kernel@vger.kernel.org, kvm , Tom Lyon , Alex Williamson , "Michael S. Tsirkin" , Jan Kiszka Subject: Re: [PATCH v3 2/4] genirq: Inform handler about line sharing state In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (LFD 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 794 Lines: 22 On Mon, 13 Dec 2010, Jan Kiszka wrote: > + if (old_action && (old_action->flags & IRQF_ADAPTIVE) && > + !(desc->irq_data.drv_status & IRQS_SHARED)) { > + /* > + * Signal the old handler that is has to switch to shareable > + * handling mode. Disable the line to avoid any conflict with > + * a real IRQ. > + */ > + disable_irq(irq); This is weird, really. I thought you wanted to avoid waiting for the threaded handler to finish if it's on the fly. So this should be disable_irq_nosync() or did you change your mind ? Thanks, tglx -- 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/