Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752427Ab0LOQC5 (ORCPT ); Wed, 15 Dec 2010 11:02:57 -0500 Received: from www.tglx.de ([62.245.132.106]:60674 "EHLO www.tglx.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751305Ab0LOQCz (ORCPT ); Wed, 15 Dec 2010 11:02:55 -0500 Date: Wed, 15 Dec 2010 17:02:33 +0100 (CET) From: Thomas Gleixner To: Jan Kiszka cc: Jan Kiszka , Avi Kivity , Marcelo Tosatti , "linux-kernel@vger.kernel.org" , kvm , Tom Lyon , Alex Williamson , "Michael S. Tsirkin" Subject: Re: [PATCH v3 2/4] genirq: Inform handler about line sharing state In-Reply-To: <4D08E391.2090205@siemens.com> Message-ID: References: <4D07F70A.30209@web.de> <4D08CE44.6000407@siemens.com> <4D08E391.2090205@siemens.com> 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: 668 Lines: 19 On Wed, 15 Dec 2010, Jan Kiszka wrote: > Am 15.12.2010 16:41, Thomas Gleixner wrote: > > Talking about headache. Your solution above does not prevent that > > scenario. > > > > CPU 0 CPU 1 > > > > synchronize_irq(); > > hard irq comes in sees shared and unmasks > > Nope, IRQ_ONESHOT is already cleared at that point. Errm ? It's set. Could you please stop to increase my confusion ? :) -- 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/