From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751182AbdFCOEN (ORCPT ); Sat, 3 Jun 2017 10:04:13 -0400 Received: from bombadil.infradead.org ([65.50.211.133]:60027 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750765AbdFCOEM (ORCPT ); Sat, 3 Jun 2017 10:04:12 -0400 From: Christoph Hellwig To: Thomas Gleixner , Jens Axboe Cc: Keith Busch , linux-nvme@lists.infradead.org, linux-block@vger.kernel.org, linux-kernel@vger.kernel.org Subject: spread MSI(-X) vectors to all possible CPUs V2 Date: Sat, 3 Jun 2017 16:03:55 +0200 Message-Id: <20170603140403.27379-1-hch@lst.de> X-Mailer: git-send-email 2.11.0 X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi all, this series changes our automatic MSI-X vector assignment so that it takes all present CPUs into account instead of all online ones. This allows to better deal with cpu hotplug events, which could happen frequently due to power management for example. Changes since V1: - rebase to current Linus' tree - add irq_lock_sparse calls - move memory allocations outside of (raw) spinlocks - make the possible cpus per node mask safe vs physical CPU hotplug - remove the irq_force_complete_move call - factor some common code into helpers - identation fixups