From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753708AbdESI6G (ORCPT ); Fri, 19 May 2017 04:58:06 -0400 Received: from bombadil.infradead.org ([65.50.211.133]:41490 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750788AbdESI6F (ORCPT ); Fri, 19 May 2017 04:58:05 -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: Fri, 19 May 2017 10:57:49 +0200 Message-Id: <20170519085756.29742-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 - remove the irq_force_complete_move call - factor some common code into helpers - identation fixups