Received: by 2002:ac0:98c7:0:0:0:0:0 with SMTP id g7-v6csp1514649imd; Sun, 4 Nov 2018 04:32:02 -0800 (PST) X-Google-Smtp-Source: AJdET5fMPoGcjT0QnyhwJRXs0Hjlf8vSqwH/Lq2kPlZscUfRcuSIOTiui6kGxP7jzq0CXS1EUbs1 X-Received: by 2002:a17:902:f209:: with SMTP id gn9mr17676687plb.6.1541334721999; Sun, 04 Nov 2018 04:32:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541334721; cv=none; d=google.com; s=arc-20160816; b=EVUEgaWe/5mx9BnXDOl8vl5f7AcKo03B2G7m8P81F6AsPFWfR7gX2zH+lwVDRW9Ebt U9W4t0/37uyNDci+hgqGSpVpwxV0RQyZc46kfpNNQtbdlRLlbwQLFeHgdBavw+knQ7ff 180LpLlkvR7wY+7Fn7EBedWbx1yKK4R+xehatrlxLNE+nYTs0TaSGzIK3IUftZMuW027 hDnpWHBzHajJDa+aWdftvMUxsfipHB6A8KGspqjNphYblLnbg1SNJ4NlXhPz5oTXxEzI aZyY+icTEj4ipBKHtq/YEt2Sn+UTw1kE1oz7wO6NKcfukYyLt6rpgHETq3UMUAq0jaq1 cxRQ== 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=eomNKSEyIMK4uN7pzX6iMIXrLdxyIMY92oW88utJ84U=; b=UU0t0vZWY0BLaXY8KD3v/d3kZ3NEQH7PWnlpv/Frd11flHQZYgHDWfxQn6CRK3xq6q COWUiKAtNYSTF9d199tFluMSCpiD6i9TdGSizW0liRmJUYQjFUE2sDFObQFaHca93Yw3 VbM/rZskSrTQjq21TI2lQKpaChP19fWvCJ0Jnt3j5zMYf7+ayXdV3PdPwgIKC6PyUyGk uzZsRLP1++EuQy0l0tor06ZgQAah5wsOVjUs2wgYquey5kK66O6b0YMI8bVVXO0ILxVh Mg/9rMeGhRVnGRBH+0nzjbVGyGDYhy/ksJJUlUW6SlOuMDG4Q9b9rT6FMrUS0Q46colr eKow== 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 r12si1066869pgf.22.2018.11.04.04.31.47; Sun, 04 Nov 2018 04:32:01 -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 S1729523AbeKDVRL (ORCPT + 99 others); Sun, 4 Nov 2018 16:17:11 -0500 Received: from Galois.linutronix.de ([146.0.238.70]:32813 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729329AbeKDVRK (ORCPT ); Sun, 4 Nov 2018 16:17:10 -0500 Received: from p5492fe24.dip0.t-ipconnect.de ([84.146.254.36] helo=nanos) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1gJH6g-0005BC-K1; Sun, 04 Nov 2018 13:02:18 +0100 Date: Sun, 4 Nov 2018 13:02:18 +0100 (CET) From: Thomas Gleixner To: Jens Axboe cc: Ming Lei , linux-block@vger.kernel.org, LKML , Hannes Reinecke , Keith Busch , Sagi Grimberg , Long Li Subject: Re: [PATCH 0/4] irq: fix support for allocating sets of IRQs In-Reply-To: <955edd2f-ad2f-ae8b-b8c2-98a01918c112@kernel.dk> Message-ID: References: <20181102145951.31979-1-ming.lei@redhat.com> <955edd2f-ad2f-ae8b-b8c2-98a01918c112@kernel.dk> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) 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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Jens, On Sat, 3 Nov 2018, Jens Axboe wrote: > On 11/2/18 8:59 AM, Ming Lei wrote: > > Hi Jens, > > > > As I mentioned, there are at least two issues in the patch of ' > > irq: add support for allocating (and affinitizing) sets of IRQs': > > > > 1) it is wrong to pass 'mask + usedvec' to irq_build_affinity_masks() > > > > 2) we should spread all possible CPUs in 2-stage way on each set of IRQs > > > > The fix isn't trivial, and I introduce two extra patches as preparation, > > then the implementation can be more clean. > > > > The patchset is against mq-maps branch of block tree, feel free to > > integrate into the whole patchset of multiple queue maps. > > Thanks Ming, I ran this through my testing, and I end up with the > same maps and affinities for all the cases I cared about. I'm going > to drop my initial version, and add the three. So I assume, that I can pick up Mings series instead. There is another patch pending affecting the irq affinity spreading. Can you folks please have a look at it? https://lkml.kernel.org/r/20181102180248.13583-1-longli@linuxonhyperv.com Thanks, tglx