From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751408AbdFDPRU (ORCPT ); Sun, 4 Jun 2017 11:17:20 -0400 Received: from mail-wm0-f66.google.com ([74.125.82.66]:32983 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751283AbdFDPRO (ORCPT ); Sun, 4 Jun 2017 11:17:14 -0400 Subject: Re: [PATCH 4/8] genirq/affinity: assign vectors to all present CPUs To: Christoph Hellwig , Thomas Gleixner , Jens Axboe Cc: Keith Busch , linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, linux-nvme@lists.infradead.org References: <20170603140403.27379-1-hch@lst.de> <20170603140403.27379-5-hch@lst.de> From: Sagi Grimberg Message-ID: <5a48e208-9279-9db9-2465-dfdb8d0319e5@grimberg.me> Date: Sun, 4 Jun 2017 18:17:10 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 MIME-Version: 1.0 In-Reply-To: <20170603140403.27379-5-hch@lst.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 03/06/17 17:03, Christoph Hellwig wrote: > Currently we only assign spread vectors to online CPUs, which ties the > IRQ mapping to the currently online devices and doesn't deal nicely with > the fact that CPUs could come and go rapidly due to e.g. power management. > > Instead assign vectors to all present CPUs to avoid this churn. > > For this we have to build a map of all possible CPUs for a give node, as s/give/given/ Reviewed-by: Sagi Grimberg