Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1105010ybl; Thu, 23 Jan 2020 13:42:18 -0800 (PST) X-Google-Smtp-Source: APXvYqzKDOypzIvmYp4Fr7GuT/56zv9JaxLjMItXKrTJUVQkPsLQ3MDm5picNdp7Ch5sT/k77p15 X-Received: by 2002:a9d:7ac9:: with SMTP id m9mr355990otn.80.1579815738391; Thu, 23 Jan 2020 13:42:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579815738; cv=none; d=google.com; s=arc-20160816; b=pbyb5IXnZRez5Aiph4xbRQOSTJ2u9fq39E7pd+Q9X1xtTVWpxAvz7YHLOUa03O/uxv IJlzgkGxSlYuEEE7MHzFWV0zCxAtaJwoVxCqerNTXmW71OlFy2T4jNQC43Mzgz+bPddR wnBA7XjrBjJhSUg3uAX39LYhZBQvbu9ROpnHSxk7GINBmU63jyt9rjuEnGfk/Zirjwy0 3wEzrO0gybr5q0bQtGg+M4F3kd7OlTXRXlVyIYWpQM2jLIqMtdMaWxN+yidib/RCpJqT lqJiUZLdHLLh34JechilupEX0c1K5q0qf4TGCVocxDcfOdkzIs3M8DM4Vkfr7xf2VpYs 1yMA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=6JCsS6yKMrQLLadFTu8lol6gvilDvYeJ1CTICqP8HJQ=; b=0XR0PatMd+CSP2HPuOJ5Fg2gN8GXwDIhv5VU1/ZpBi/tNHxSKz3g7//ElmL+s/EtV4 bDL8aKVMHNODMhj+vfYBdczkZXivXm5RFvWjVmF3Gqtc/h3BrFD1NrmZiCcqtmg5gRfQ jO2LLxqRy6WVIuCr/g7D1Br8oiG8HezaVYlHYq8XnMJ0ihKrXwOvHJQsBZ4GMkAtZAXb Szmz/dXNloG6jAfwFLCtWfewxLgLecuHqBZAT58asu1BUllWGUPar8tKij/MhDyY3iGZ BjCG6wrQPCZvVKQlm9jnlGjYkEJ0utIRCEO1fSdLilinW0YAJGBqgQ1cq5oFT1lUa4LG MRLQ== 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 l14si1802763otk.225.2020.01.23.13.42.05; Thu, 23 Jan 2020 13:42:18 -0800 (PST) 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 S1729043AbgAWVkZ (ORCPT + 99 others); Thu, 23 Jan 2020 16:40:25 -0500 Received: from charlotte.tuxdriver.com ([70.61.120.58]:56063 "EHLO smtp.tuxdriver.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728655AbgAWVkZ (ORCPT ); Thu, 23 Jan 2020 16:40:25 -0500 Received: from [62.209.224.147] (helo=localhost) by smtp.tuxdriver.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1iukCx-0001FH-7H; Thu, 23 Jan 2020 16:40:17 -0500 Date: Thu, 23 Jan 2020 22:40:09 +0100 From: Neil Horman To: Thomas Gleixner Cc: "liuchao (CR)" , linfeilong , Hushiyuan , "linux-kernel@vger.kernel.org" Subject: Re: =?utf-8?B?562U5aSNOiBbUkZDXSBpcnE6IFNr?= =?utf-8?Q?ip_printin?= =?utf-8?Q?g?= irq when desc->action is null even if any_count is not zero Message-ID: <20200123214009.GA17257@localhost.localdomain> References: <20200121130959.22589-1-liuchao173@huawei.com> <87k15jek6v.fsf@nanos.tec.linutronix.de> <20200122192856.GA2852@localhost.localdomain> <7966953BB2EC794AA37DF0A21FAD8A34021318DA@DGGEMA503-MBX.china.huawei.com> <87pnfatkpy.fsf@nanos.tec.linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87pnfatkpy.fsf@nanos.tec.linutronix.de> User-Agent: Mutt/1.12.1 (2019-06-15) X-Spam-Score: -2.9 (--) X-Spam-Status: No Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jan 23, 2020 at 01:34:33PM +0100, Thomas Gleixner wrote: > Chao, > > "liuchao (CR)" writes: > > On Thu, Jan 23, 2020 at 03:29AM +0800, Neil Horman wrote: > >> > I'm not opposed to suppress the output, but I really want the opinion > >> > of the irqbalance maintainers on that. > > > > Irqbalance is an example. I mean, when this happens, users who cat /proc/interrupts > > may be confused about where the interrupt came from and what it was used for. > > People who use Linux may not understand the principle of this. They are not sure > > whether this is a problem of the system or not. > > Well, this has been that way for 20+ years and so far nobody got > confused. If it's not documented then we should do so. > > >> Actually, irqbalance ignores the trailing irq name (or it should at least), so you > >> should be able to drop that portion of /proc/irqbalance, though I cant speak for > >> any other users of it. > > > > If irq isn't removed from /proc/interrups, it will still be parsed in > > collect_full_irq_list and parse_proc_interrupts. > > Sure, and why is that a problem? Again, this is really historic behaviour. > > > irq_name is used in guess_arm_irq_hints. > > That's a problem of guess_arm_irq_hints() then. > > Again, I'm not against supressing such lines in general, but I want to > make sure that no tool depends on that information. > I think it probably makes sense to just keep it then. I'm not sure I see it as hurting anything to keep it around. Neil > Thanks, > > tglx >