Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp3306934imm; Fri, 19 Oct 2018 08:29:06 -0700 (PDT) X-Google-Smtp-Source: ACcGV62FNRAZ5Qk+65UhA2CrQxdBF2rYYdWc6XvxqFbeCwas/rYgL68OpbyKYpWiUn7cSvDXxmUP X-Received: by 2002:a17:902:6b81:: with SMTP id p1-v6mr34402127plk.162.1539962946245; Fri, 19 Oct 2018 08:29:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539962946; cv=none; d=google.com; s=arc-20160816; b=HSbRzrwAqEoiB0mQr+tSIGQRyOVbtcbE8teXdKye8lSzGYKT13jXS/qKioWcNtS9AT dU8FZF9afqeh/vIVNPq7Bv5Sgmb3EcmMQ3r/gSTM8itCuV1q1B0QZmR3uv4CY1d1AzyK cBxc8k9UdAKCriIUKZ8DHSlKGFBjVrm2E2TwMY+fy/wEhlh9Slpqhb4p8HHWc3OUIUN6 f2veCYg2bkOP+PwrzBFRwgTSHxOWU3TYR/J5D6fecyQJawXYaH7gc/kg8WkEILDjEMTe YS+bptsMRqikRNTz8B0K1lOgEwnEmt/FicMvULtCXcPsfoUvQ6gvtu8efqr9QHi0+Yii MVuQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date; bh=piWu6oMwQeUCbflrgbB+0Xb2jmEysEE8FjJX4LgIqr4=; b=aLQJkFMr6HmSC5OrlRs8Or3ICMPtNoqEZSXERseJVh9uWnMoqXpoqxg2uWRfj2HwOa 4Zh1eLhtZXVSkeFEc2Rgw8gYQVkEJvVsRwQeppMxh+eZk9NJkqwjrOva9u9/7s/IUy3k Cy4WMkWG8qK7IszjR1OzHV1b5f5Bub4tBXGaig59Cyn7odU0z7+UGrv+Bmi5vMUhu2Bs aF61fMInF8r7wXTVVlXfJplLC5vjqa5/DxbTTo2TLfd5SDpqhA9uSk2Vv3kZQsJ5NqQd KC5m4bHOCHYG0+gIXv3wNHW5819Jb19Z27AhlYyVcr1fQy9JNJ1mvX405m76cxtFzvNK kTBQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r13-v6si23820403pfb.43.2018.10.19.08.28.49; Fri, 19 Oct 2018 08:29:06 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727219AbeJSXdF (ORCPT + 99 others); Fri, 19 Oct 2018 19:33:05 -0400 Received: from Galois.linutronix.de ([146.0.238.70]:39570 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726465AbeJSXdF (ORCPT ); Fri, 19 Oct 2018 19:33:05 -0400 Received: from hsi-kbw-5-158-153-52.hsi19.kabel-badenwuerttemberg.de ([5.158.153.52] helo=nanos.tec.linutronix.de) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1gDWfV-0001Z8-Av; Fri, 19 Oct 2018 17:26:29 +0200 Date: Fri, 19 Oct 2018 17:26:29 +0200 (CEST) From: Thomas Gleixner To: Lukas Wunner cc: linux-kernel@vger.kernel.org, Mathias Duckeck , Akshay Bhat , Casey Fitzpatrick Subject: Re: [PATCH] genirq: Fix race on spurious interrupt detection In-Reply-To: <20181019152307.62t6al6ney5ofo36@wunner.de> Message-ID: References: <1dfd8bbd16163940648045495e3e9698e63b50ad.1539867047.git.lukas@wunner.de> <20181019152307.62t6al6ney5ofo36@wunner.de> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 19 Oct 2018, Lukas Wunner wrote: > On Fri, Oct 19, 2018 at 04:31:30PM +0200, Thomas Gleixner wrote: > > I doubt that this can happen in reality, so I'd rather reword that > > paragraph slightly: > > > > In theory high CPU load and in the presence of higher priority tasks, the > > number of incorrectly detected spurious interrupts might increase beyond > > the 99,900 threshold and cause disablement of the interrupt. > > > > In practice it just increments the spurious interrupt count. But that can > > cause people to waste time investigating it over and over. > > > > Hmm? > > Sure, fine by me. Would you prefer me to resend with that change or > can you fold it in when applying? I'll fold it. No problem. > FWIW I did manage to reach the 99,900 threshold once because I had > added copious amounts of printk() to the hi3110 IRQ thread to debug > another issue. But I never experienced that without those printk()'s. Cute. Thanks tglx