From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S966192AbcBCTQZ (ORCPT ); Wed, 3 Feb 2016 14:16:25 -0500 Received: from www.linutronix.de ([62.245.132.108]:60774 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965284AbcBCTQY (ORCPT ); Wed, 3 Feb 2016 14:16:24 -0500 Date: Wed, 3 Feb 2016 20:15:15 +0100 (CET) From: Thomas Gleixner To: Rik van Riel cc: LKML , Ingo Molnar , Peter Zijlstra , Frederic Weisbecker , Chris Metcalf , Christoph Lameter Subject: Re: [PATCH] genirq: Add default affinity mask command line option In-Reply-To: <56B25116.5040809@redhat.com> Message-ID: References: <56B25116.5040809@redhat.com> User-Agent: Alpine 2.11 (DEB 23 2013-08-11) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001,URIBL_BLOCKED=0.001 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 3 Feb 2016, Rik van Riel wrote: > On 02/03/2016 01:52 PM, Thomas Gleixner wrote: > > From: Thomas Gleixner Date: Fri May 25 > > 16:59:47 2012 +0200 Subject: genirq: Add default affinity mask > > command line option > > > > If we isolate CPUs, then we don't want random device interrupts on > > them. Even w/o the user space irq balancer enabled we can end up > > with irqs on non boot cpus and chasing newly requested interrupts > > is a tedious task. > > The userspace irqbalance daemon has code nowadays to prevent > it from putting irqs on isolated CPUs. I know, but a lot of systems do not enable it at all. > > Allow to restrict the default irq affinity mask. > > However, not placing them on there at boot time is a great > enhancement, too. That's the main plan :) > Would it make sense to key off the isolated_cpus mask > if isolated_cpus= was specified, but no irqaffinity > mask was specified? That might be an add on. > Is there any use case where we would want irqs on > isolated cpus by default, and could not bear the > cost of reassigning them from userspace after boot? I don't think so. Those interrupts you want on an isolated cpu are obviously hand selected. Thanks, tglx