From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754302AbcCYUv2 (ORCPT ); Fri, 25 Mar 2016 16:51:28 -0400 Received: from www.linutronix.de ([62.245.132.108]:43435 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753828AbcCYUv1 (ORCPT ); Fri, 25 Mar 2016 16:51:27 -0400 Date: Fri, 25 Mar 2016 21:49:51 +0100 (CET) From: Thomas Gleixner To: Christoph Hellwig cc: Weongyo Jeong , linux-kernel@vger.kernel.org, linux-rdma@vger.kernel.org, linux-scsi@vger.kernel.org, Mike Marciniszyn , "James E.J. Bottomley" , "Martin K. Petersen" Subject: Re: [PATCH v1 0/2] genirq: support multiple IRQ notifier. In-Reply-To: <20160325193243.GA30485@infradead.org> Message-ID: References: <20160325193243.GA30485@infradead.org> 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 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 25 Mar 2016, Christoph Hellwig wrote: > On Fri, Mar 25, 2016 at 08:51:51AM -0700, Weongyo Jeong wrote: > > Each irq_desc only supports one IRQ affinity notifier at current > > implementation so when we try to register another notifier, it silently > > unregister previous entry and register new one. > > > > However the problem is that if CONFIG_RFS_ACCEL is set, at current > > implementation no way to set additional IRQ affinity notifier for > > some NIC cards RFS enabled because it already used for RFS. > > With this patch we can register multiple IRQ affinity notifiers. > > The whole concept of these irq affinity notifiers seems wrong to me. > > If a device supports MSI-X it should simply request per-cpu or per-node > vectors and we should prevent affinity changes for them. You beat me to it. I'm having a half baken prototype to implement this at the core level. Will post next week. Thanks, tglx