Received: by 2002:a05:6a10:a852:0:0:0:0 with SMTP id d18csp687619pxy; Fri, 30 Apr 2021 14:09:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzt3FK4GqunYgNmGjaumECl/KY+p/WXYLtU71tGVafxUWAdDrnEKLauyXdJsTVAhjNOv6S6 X-Received: by 2002:a17:907:d0c:: with SMTP id gn12mr6426041ejc.253.1619816962642; Fri, 30 Apr 2021 14:09:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619816962; cv=none; d=google.com; s=arc-20160816; b=ISfMzOBW5saePU0CHoEVgIEw7KB6qHO2g+xxrtwjDF1J8JqgqbWlG5x4lKqCl1+GcM Fpr4wj/3uYu7uuaKQUJ4n3n25h3muaeh0+M9tjxXUM8NRKGzHdSJbrmT48NEPcC32k5e Ly82dqw3dTI8pF7VZ3A3Ezs5RHU/eb9gFLTtFghGmB6hcxewGlIXYKr3MPXMXcPCwjew 4aHQKZcpXBzh8Ph0q5JT1xsjFvM4NqlNmBoMXPPZmNy+CsT1hzaSE0ExRbAoNsLvdSH6 F8qcRSd4SITDCpr3vSLSbb3b1Q5+qlogoavb4Kz7XzFA8+E516q/GoPa0HWIJ6WQ2S+L l3QA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=7bjSqgt4w42d2y2oUh6BGNJmeVzILv9yAjfoz9hqHZ8=; b=DNM6r9we4gk/r3HtYZG0ye7FqEgtORWIWk00k0SSeaGbOdmZc0Zlp+uT6X8lLnXsf7 QnGO/wBl4AzqAXdWStAlsBa232LMpxw/yxaNoFxL34ahHgoyGi4fZDu8oYxU+2IIWaQH D4LS5XyVqt44j5myctbpJwBzzd906DEBXpln5dJg5SKkiq4qRmCD7RhW2kRHYHKMvXWE mvc/f0zamGWM7ttZoRzdWZ+/RhaWAmX4dRtI3NGUkDYrZxw0X9k1/LpCFxVAmTwhMD2T S8F95Kz5hymS70xxulaprVgehqz2xllniJaomYbRvbxu2J9N0A5toBjkxIE2tEQdjI6C wBfQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Tl7al7NV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u17si1415808ejf.662.2021.04.30.14.08.59; Fri, 30 Apr 2021 14:09:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Tl7al7NV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236031AbhD3VIv (ORCPT + 99 others); Fri, 30 Apr 2021 17:08:51 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:40515 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236122AbhD3VIu (ORCPT ); Fri, 30 Apr 2021 17:08:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1619816881; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=7bjSqgt4w42d2y2oUh6BGNJmeVzILv9yAjfoz9hqHZ8=; b=Tl7al7NV5S7ilgesGLruvMVpsvfYiQj/S8MbDe0dH5a9KnDznhZxAZm93vI2r9EGoiRwuF VDf4d+q3nwv3liXuLabwzBMPADPiJRmOK2WsTvBbNx4lTsExBTM837eGhbrkWUmvTk4xoZ nU2DsO5aXq59/GSqc6r06EmMQt8DI08= Received: from mail-lj1-f199.google.com (mail-lj1-f199.google.com [209.85.208.199]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-2-12Z1n4vzMYWesYkNXta_zw-1; Fri, 30 Apr 2021 17:07:59 -0400 X-MC-Unique: 12Z1n4vzMYWesYkNXta_zw-1 Received: by mail-lj1-f199.google.com with SMTP id e6-20020a05651c04c6b02900c01712738eso5897299lji.2 for ; Fri, 30 Apr 2021 14:07:59 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=7bjSqgt4w42d2y2oUh6BGNJmeVzILv9yAjfoz9hqHZ8=; b=n0v0gs6vxr+Wr204oDHj2ILUnw1cmfQPorFIR4si8joovrr+WNDKQLdnRcrUHmup3h xAuq47/3PCwNfxuY/QEVIiy0H/gWx3/DMN7kbANUB86dtnKNUAHt+xszEbvRPlXNSHhE 47coDfRER18GxPtpRSqycNH8ZUzdGziPKOBJEqOBU8rPO77wVCaHpMwmwoQFvTs3uReG Bs0Kt+3ZrPwLRsT9OsU2oGmLdUR2Sn874OmsKQ4+prBLA/d81pqmS/p6f+Feuei3ZRiX fuYn56bU+5T6l5hzWJwy92vj2602II8Ghx3adtQdcGfnuDKP2tbi5dQ5+vn+WSfqZxbb zbEA== X-Gm-Message-State: AOAM532zP/R4cm1G7UFUxbTvJTn1X5uCOPVm4t95kMwjCAQl2BhwWPzp rMb2RmwB7vT+/17bgtGMn3vYlMBtnwkoUPH4AftwNdIwVPmTYzTQKeqVo1wZZRYALN9pFoP+zLb Gvgx9I4oY/fLip8hrrIY8XIriFmkkCCm4K5NxS711 X-Received: by 2002:a05:6512:2312:: with SMTP id o18mr3109217lfu.159.1619816878352; Fri, 30 Apr 2021 14:07:58 -0700 (PDT) X-Received: by 2002:a05:6512:2312:: with SMTP id o18mr3109190lfu.159.1619816878110; Fri, 30 Apr 2021 14:07:58 -0700 (PDT) MIME-Version: 1.0 References: <20200625223443.2684-1-nitesh@redhat.com> <3e9ce666-c9cd-391b-52b6-3471fe2be2e6@arm.com> <20210127121939.GA54725@fuller.cnet> <87r1m5can2.fsf@nanos.tec.linutronix.de> <20210128165903.GB38339@fuller.cnet> <87h7n0de5a.fsf@nanos.tec.linutronix.de> <20210204181546.GA30113@fuller.cnet> <20210204190647.GA32868@fuller.cnet> <87y2g26tnt.fsf@nanos.tec.linutronix.de> <7780ae60-efbd-2902-caaa-0249a1f277d9@redhat.com> <07c04bc7-27f0-9c07-9f9e-2d1a450714ef@redhat.com> <20210406102207.0000485c@intel.com> <1a044a14-0884-eedb-5d30-28b4bec24b23@redhat.com> <20210414091100.000033cf@intel.com> <54ecc470-b205-ea86-1fc3-849c5b144b3b@redhat.com> <87czucfdtf.ffs@nanos.tec.linutronix.de> <87sg37eiqa.ffs@nanos.tec.linutronix.de> In-Reply-To: <87sg37eiqa.ffs@nanos.tec.linutronix.de> From: Nitesh Lal Date: Fri, 30 Apr 2021 17:07:46 -0400 Message-ID: Subject: Re: [Patch v4 1/3] lib: Restrict cpumask_local_spread to houskeeping CPUs To: Thomas Gleixner , Jesse Brandeburg Cc: "frederic@kernel.org" , "juri.lelli@redhat.com" , Marcelo Tosatti , abelits@marvell.com, Robin Murphy , "linux-kernel@vger.kernel.org" , "linux-api@vger.kernel.org" , "bhelgaas@google.com" , "linux-pci@vger.kernel.org" , "rostedt@goodmis.org" , "mingo@kernel.org" , "peterz@infradead.org" , "davem@davemloft.net" , "akpm@linux-foundation.org" , "sfr@canb.auug.org.au" , "stephen@networkplumber.org" , "rppt@linux.vnet.ibm.com" , "jinyuqi@huawei.com" , "zhangshaokun@hisilicon.com" , netdev@vger.kernel.org, chris.friesen@windriver.com Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Apr 30, 2021 at 2:21 PM Thomas Gleixner wrote: > > Nitesh, > > On Fri, Apr 30 2021 at 12:14, Nitesh Lal wrote: > > Based on this analysis and the fact that with your re-work the interrupts > > seems to be naturally spread across the CPUs, will it be safe to revert > > Jesse's patch > > > > e2e64a932 genirq: Set initial affinity in irq_set_affinity_hint() > > > > as it overwrites the previously set IRQ affinity mask for some of the > > devices? > > That's a good question. My gut feeling says yes. > Jesse do you want to send the revert for the patch? Also, I think it was you who suggested cc'ing intel-wired-lan ml as that allows intel folks, to do some initial testing? If so, we can do that here (IMHO). > > IMHO if we think that this patch is still solving some issue other than > > what Jesse has mentioned then perhaps we should reproduce that and fix it > > directly from the request_irq code path. > > Makes sense. > > Thanks, > > tglx > -- Thanks Nitesh