From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756499AbcCQVQK (ORCPT ); Thu, 17 Mar 2016 17:16:10 -0400 Received: from mga09.intel.com ([134.134.136.24]:15955 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756431AbcCQVQI (ORCPT ); Thu, 17 Mar 2016 17:16:08 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.24,351,1455004800"; d="scan'208";a="913357317" Date: Thu, 17 Mar 2016 14:14:40 -0700 From: "Luck, Tony" To: Thomas Gleixner Cc: LKML , Harry Junior , x86@kernel.org, Peter Zijlstra , Joe Lawrence , Borislav Petkov , Ben Hutchings Subject: Re: [PATCH V2] x86/irq: Cure live lock in fixup_irqs() Message-ID: <20160317211439.GA21968@intel.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This version also passes repeated iterations of: # echo 0 | tee /sys/devices/system/cpu/cpu*/online # echo 1 | tee /sys/devices/system/cpu/cpu*/online Some of the time taken in the offline cycle may be a more than O(N) chasing of IRQs onto an ever smaller available set of online cpus. There are over 4000 lines like this: [ 218.220045] Broke affinity for irq 66 on the console for each offline pass. Also a couple of these: [ 221.951171] IRQ fixup: irq 68 move in progress, old vector 79 for each pass offlining all but one cpu. Tested-by: Tony Luck -Tony