Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934919AbeAOQEK (ORCPT + 1 other); Mon, 15 Jan 2018 11:04:10 -0500 Received: from mx1.redhat.com ([209.132.183.28]:43482 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933878AbeAOQEJ (ORCPT ); Mon, 15 Jan 2018 11:04:09 -0500 From: Ming Lei To: Jens Axboe , linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, Christoph Hellwig , Thomas Gleixner Cc: Laurence Oberman , Mike Snitzer , Ming Lei Subject: [PATCH 0/2] genirq/affinity: try to make sure online CPU is assgined to irq vector Date: Tue, 16 Jan 2018 00:03:43 +0800 Message-Id: <20180115160345.2611-1-ming.lei@redhat.com> X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.27]); Mon, 15 Jan 2018 16:04:09 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: Hi, These two patches fixes IO hang issue reported by Laurence. 84676c1f21 ("genirq/affinity: assign vectors to all possible CPUs") may cause one irq vector assigned to all offline CPUs, then this vector can't handle irq any more. The 1st patch moves irq vectors spread into one function, and prepares for the fix done in 2nd patch. The 2nd patch fixes the issue by trying to make sure online CPUs assigned to irq vector. Ming Lei (2): genirq/affinity: move irq vectors spread into one function genirq/affinity: try best to make sure online CPU is assigned to vector kernel/irq/affinity.c | 77 ++++++++++++++++++++++++++++++++++----------------- 1 file changed, 52 insertions(+), 25 deletions(-) -- 2.9.5