Received: by 10.213.65.68 with SMTP id h4csp1178990imn; Sat, 7 Apr 2018 20:23:07 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+44crdzp0uUQBWP2lY2KlNxbscEtBOphwK5WVH5XFPG2DosWOtU0DIss+B22LCO1B3Gs3O X-Received: by 10.99.174.6 with SMTP id q6mr21687141pgf.179.1523157787558; Sat, 07 Apr 2018 20:23:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523157787; cv=none; d=google.com; s=arc-20160816; b=V1YWEAawnimw0t0y0lPjbCkjk99aEiUgwwGQqPp9RUrWBrp2Ds9vXpbjbvKvq7JQg8 Y7IHVam07Smfa3bsGNKan7BarxXB38NC6tbbriLIc6qJy2ROiCjadz8O0kSgX8kezh6r 5dHGwaE4CaypHhXwDYZyEMEmC8KUGxWGv59v5NLNfs0iSBif14bRBcQJtqzWJ+go8dKX dKiASPgR+LhkVK6ON988c6RuN61P5Ep28/7ws0AQvZeo+fguMU8gkp7dV8FVEQcdyJG9 5i5OTijE7ZlhUhH6ZGeEWjaqyPGh9EJ1CRmeJTHDs7/pvEOsvy8Vjs2Ds780VCFwkQgV P43A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=rJx6WZSi49CsbJ/p6jJktJb/+EhIewyAaN/mnVqgdB8=; b=tAjy9n3jCiKtDZX0fK/xq9dZCElIH2jm6yec4iCUOQb+G8rfuKMb4KkClI8S0XtJOG 4pulKKy5SBsK+Q0To25HaWLOHQxOxAk+J36NgUUjr/gvGcBbf924179Pqat4GDcFJ9+B +jvuca6uqGXHYwO0Pc3UBFx811ZRKkChNesdzU7QTxrf4X3GJWrz8Cj7IJmS1b/NL2Lo QmeK33qbZA4qdkEhsFMWPPVMQDkXYANHLTMssFvMlTm3qSgirQXoVMLiz4+nTYljd16R TDvncI9JTWBoYFWWJvuL3rcqxavY6Ow7D676ZlsbiM6YM8Cj8zsRQPkIFvA3KFINKPm2 qC8Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p12si10093805pff.280.2018.04.07.20.22.30; Sat, 07 Apr 2018 20:23:07 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752786AbeDHDT2 (ORCPT + 99 others); Sat, 7 Apr 2018 23:19:28 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:57918 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752463AbeDHDT1 (ORCPT ); Sat, 7 Apr 2018 23:19:27 -0400 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 20205814F0D2; Sun, 8 Apr 2018 03:19:27 +0000 (UTC) Received: from ming.t460p (ovpn-12-162.pek2.redhat.com [10.72.12.162]) by smtp.corp.redhat.com (Postfix) with ESMTPS id F35202024CA4; Sun, 8 Apr 2018 03:19:17 +0000 (UTC) Date: Sun, 8 Apr 2018 11:19:13 +0800 From: Ming Lei To: Thomas Gleixner Cc: Jens Axboe , Christoph Hellwig , linux-kernel@vger.kernel.org, linux-block@vger.kernel.org, Laurence Oberman Subject: Re: [PATCH V3 4/4] genirq/affinity: irq vector spread among online CPUs as far as possible Message-ID: <20180408031912.GA24737@ming.t460p> References: <20180308105358.1506-1-ming.lei@redhat.com> <20180308105358.1506-5-ming.lei@redhat.com> <20180403160001.GA25255@ming.t460p> <20180404150759.GA24824@ming.t460p> <20180406091257.GA9605@ming.t460p> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.1 (2017-09-22) X-Scanned-By: MIMEDefang 2.78 on 10.11.54.4 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.8]); Sun, 08 Apr 2018 03:19:27 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.8]); Sun, 08 Apr 2018 03:19:27 +0000 (UTC) for IP:'10.11.54.4' DOMAIN:'int-mx04.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'ming.lei@redhat.com' RCPT:'' Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Apr 06, 2018 at 11:49:47PM +0200, Thomas Gleixner wrote: > On Fri, 6 Apr 2018, Thomas Gleixner wrote: > > > On Fri, 6 Apr 2018, Ming Lei wrote: > > > > > > I will post V4 soon by using cpu_present_mask in the 1st stage irq spread. > > > And it should work fine for Kashyap's case in normal cases. > > > > No need to resend. I've changed it already and will push it out after > > lunch. > > No. Lunch did not last that long :) > > I pushed out the lot to > > git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git irq/core > > Please double check the modifications I did. The first related commit fixes > an existing error handling bug. I think your modification is better, especially about adding comment in irq_create_affinity_masks(). I also testes these patches again, and they just work fine. Thanks, Ming