Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp179234ybt; Tue, 30 Jun 2020 17:49:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxIK9lpVdBbabiZMiZ7Dv/TtDZ9rdjr2Ykh7JSEg9sjjVlzF3Npht1qLyJ5RMxw0cXjnYEd X-Received: by 2002:a17:906:8316:: with SMTP id j22mr20114496ejx.97.1593564546550; Tue, 30 Jun 2020 17:49:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593564546; cv=none; d=google.com; s=arc-20160816; b=L1APysMjxwNHSROBeYOXpNVSszowRPMJxBxw8aZVGtv40TUVDTufnJLPrBU/WVSYjv hj2zUvxIih3UoNLpqfeqhpqa0qdxGW+4Wna0aIxv9/Q9cSjFjTyji+FvcbJlgQKDdZYP 0FxDMpgjM3kMakTfepLg8uiNt0bSexbC3SXAbqJI82+dxq9OU12YLg+lOgJXsLSzH2fI ujlHO2ABFJ8dCJniTbqA3ydubGq2NMWm1odqZHXjLI8yag6aQT+ZLmkvmvoAIJd+ifcL dNVj4F6Dmeaylnub07StRnnfMBw9C2HN9iSUeb67tsproTNcmmltD3V4HNvKlRPcg+1K PIaA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:mime-version:user-agent:date :message-id:organization:autocrypt:from:references:cc:to:subject :dkim-signature; bh=dvDHRkh74hlCyN4JG6BjLU/8tyJT+WTRoBdybg+m61E=; b=PDuVHP6hRgCGvacxsriW5VFGTAItHqX3Kqtb09eeka/cerKMGHvZx4RLRQpms+1buf jdIaiF0zBS95c77u5OYfb9Ck6SrPTahIEZCTpVKTM6OpADuTexIcvSbdEQ55yU8Pp6y3 oVO15CXJ3P4OzB+cHEyDDR2De12FvaubwjRz2/fsHv/4g39/i+SSrfnRboVr5b7O0ryV nwuxUvP6tGxHkeA4Ipyi/wGXliW6Ey8Cf/mfDjoAiyYU0Y/VrqQIxDJ42xcxZhC4cd+M hHe3vLH5mtOoVSDvExzpRBI77165t+Ar6zPAImUkmjdwOcf0zXg62FJ+wP10y/NvDGmD m6cg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Suzgb1SM; 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 mj23si2781801ejb.746.2020.06.30.17.48.43; Tue, 30 Jun 2020 17:49:06 -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=Suzgb1SM; 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 S1726408AbgGAAsN (ORCPT + 99 others); Tue, 30 Jun 2020 20:48:13 -0400 Received: from us-smtp-2.mimecast.com ([207.211.31.81]:32698 "EHLO us-smtp-delivery-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726015AbgGAAsK (ORCPT ); Tue, 30 Jun 2020 20:48:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1593564487; 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:autocrypt:autocrypt; bh=dvDHRkh74hlCyN4JG6BjLU/8tyJT+WTRoBdybg+m61E=; b=Suzgb1SMdCdPs4C0h/NqeQw3RV/YkRA9Bjcrxvj3LNKTjQ5/AMQXcR43wim1/g64bg22cr AupIldhNHZdbveLseFbCZt1fLrN4uy1zEY8UL8YnhaqKx1LQEa+cH9AeB3XR44bmKJ/vXd fq0l42k4PMCFrPW/c/NI0m49dolr9aU= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-307-fCRvAmRaNlCHjxL5js87fw-1; Tue, 30 Jun 2020 20:48:02 -0400 X-MC-Unique: fCRvAmRaNlCHjxL5js87fw-1 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id BBDE680183C; Wed, 1 Jul 2020 00:47:58 +0000 (UTC) Received: from [10.10.115.161] (ovpn-115-161.rdu2.redhat.com [10.10.115.161]) by smtp.corp.redhat.com (Postfix) with ESMTPS id DA1C05DC1E; Wed, 1 Jul 2020 00:47:40 +0000 (UTC) Subject: Re: [Patch v4 1/3] lib: Restrict cpumask_local_spread to houskeeping CPUs To: Andrew Morton , peterz@infradead.org Cc: linux-kernel@vger.kernel.org, linux-api@vger.kernel.org, frederic@kernel.org, mtosatti@redhat.com, juri.lelli@redhat.com, abelits@marvell.com, bhelgaas@google.com, linux-pci@vger.kernel.org, rostedt@goodmis.org, mingo@kernel.org, tglx@linutronix.de, davem@davemloft.net, sfr@canb.auug.org.au, stephen@networkplumber.org, rppt@linux.vnet.ibm.com, jinyuqi@huawei.com, zhangshaokun@hisilicon.com References: <20200625223443.2684-1-nitesh@redhat.com> <20200625223443.2684-2-nitesh@redhat.com> <8054aff1-544d-80de-456f-c3e244233419@redhat.com> <20200630173244.eef158fb09dca3cc1e2e63b1@linux-foundation.org> From: Nitesh Narayan Lal Autocrypt: addr=nitesh@redhat.com; prefer-encrypt=mutual; keydata= mQINBFl4pQoB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+Fpey4bCDkT5fMOaCcS+vSU1 UaFmC4Ogzpe2BW2DOaPU5Ik99zUFNn6cRmOOXArrryjFlLT5oSOe4IposgWzdwARAQABiQIl BBgBCAAPBQJZeKUKAhsMBQkJZgGAAAoJEKOGQNwGMqM5ELoP/jj9d9gF1Al4+9bngUlYohYu 0sxyZo9IZ7Yb7cHuJzOMqfgoP4tydP4QCuyd9Q2OHHL5AL4VFNb8SvqAxxYSPuDJTI3JZwI7 d8JTPKwpulMSUaJE8ZH9n8A/+sdC3CAD4QafVBcCcbFe1jifHmQRdDrvHV9Es14QVAOTZhnJ vweENyHEIxkpLsyUUDuVypIo6y/Cws+EBCWt27BJi9GH/EOTB0wb+2ghCs/i3h8a+bi+bS7L FCCm/AxIqxRurh2UySn0P/2+2eZvneJ1/uTgfxnjeSlwQJ1BWzMAdAHQO1/lnbyZgEZEtUZJ x9d9ASekTtJjBMKJXAw7GbB2dAA/QmbA+Q+Xuamzm/1imigz6L6sOt2n/X/SSc33w8RJUyor SvAIoG/zU2Y76pKTgbpQqMDmkmNYFMLcAukpvC4ki3Sf086TdMgkjqtnpTkEElMSFJC8npXv 3QnGGOIfFug/qs8z03DLPBz9VYS26jiiN7QIJVpeeEdN/LKnaz5LO+h5kNAyj44qdF2T2AiF HxnZnxO5JNP5uISQH3FjxxGxJkdJ8jKzZV7aT37sC+Rp0o3KNc+GXTR+GSVq87Xfuhx0LRST NK9ZhT0+qkiN7npFLtNtbzwqaqceq3XhafmCiw8xrtzCnlB/C4SiBr/93Ip4kihXJ0EuHSLn VujM7c/b4pps Organization: Red Hat Inc, Message-ID: Date: Tue, 30 Jun 2020 20:47:32 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 MIME-Version: 1.0 In-Reply-To: <20200630173244.eef158fb09dca3cc1e2e63b1@linux-foundation.org> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=nitesh@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="zv9Bvlc42mHfmwj43hiP5sXCCb7PHKzlV" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --zv9Bvlc42mHfmwj43hiP5sXCCb7PHKzlV Content-Type: multipart/mixed; boundary="Qnd1YrjHmRMYY6RES2I1WNMyjD7Cc2lJq" --Qnd1YrjHmRMYY6RES2I1WNMyjD7Cc2lJq Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Content-Language: en-US On 6/30/20 8:32 PM, Andrew Morton wrote: > On Mon, 29 Jun 2020 12:11:25 -0400 Nitesh Narayan Lal = wrote: > >> On 6/25/20 6:34 PM, Nitesh Narayan Lal wrote: >>> From: Alex Belits >>> >>> The current implementation of cpumask_local_spread() does not respect t= he >>> isolated CPUs, i.e., even if a CPU has been isolated for Real-Time task= , >>> it will return it to the caller for pinning of its IRQ threads. Having >>> these unwanted IRQ threads on an isolated CPU adds up to a latency >>> overhead. >>> >>> Restrict the CPUs that are returned for spreading IRQs only to the >>> available housekeeping CPUs. >>> >>> Signed-off-by: Alex Belits >>> Signed-off-by: Nitesh Narayan Lal >> Hi Peter, >> >> I just realized that Yuqi jin's patch [1] that modifies cpumask_local_sp= read is >> lying in linux-next. >> Should I do a re-post by re-basing the patches on the top of linux-next? >> >> [1] >> https://lore.kernel.org/lkml/1582768688-2314-1-git-send-email-zhangshaok= un@hisilicon.com/ > This patch has had some review difficulties and has been pending for > quite some time. I suggest you base your work on mainline and that we > ask Yuqi jin to rebase on that, if I don't feel confident doing it, > I see, in that case, it should be fine to go ahead with this patch-set as I already based this on top of the latest master before posting. --=20 Thanks Nitesh --Qnd1YrjHmRMYY6RES2I1WNMyjD7Cc2lJq-- --zv9Bvlc42mHfmwj43hiP5sXCCb7PHKzlV Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEkXcoRVGaqvbHPuAGo4ZA3AYyozkFAl773SUACgkQo4ZA3AYy ozmgBBAAwiPIg76Omt8HLuEybfddkAgiS1i2lAre/Gv09LNzWlpHR3GbgJ3xzcR+ GUjYxajdn/j7QUSwtjLebNC5j7tqEZ6GNMdKrJY90nDNuxf5FFsAjs9lARV1nmyD HKXnM21ov8bjT3hpVtCmGcq0xncKMUDkBp75MbBxlKO8PKY2OGTBQspR144Z02j+ 7e8jRLAe2SKs8H6/cQzqsGLX7ohwUp6+IjQFoWhM3h4oiYMmwbSjO1N+WNLa3c9r q8Yhp3w6RQYS0/jYcqvzdHQ1TNO2HwO5E5TvDiNubDpEpkH6SAgMJ8AlxyQ3s+7F Awuy5fvPAQv5cu2p+l9uC1WPrVE5L9m+ubKlgjwQCFPFqqP9j2HTsnbI+3V+35c2 zf9gSaqR20neMOsZ1NdkfxDCYJChL/ZkoaFNyeFGLftI2WsFy82Ql/+DExhbvkft 236Ty6QpGdGIDmTO8EljEIhqcQZap3aowX4sVnckUKE3GBJesr3c+FPGkNsPPf/c 9+B2mJ6xHKWCsUTKaHtG/9sWmNLwuhK0wHdbnlCtQHN95sbdqBOQohZUZIlbx888 kPwPF0V0w6e/s05yg/uZynHthpo7S1MU+ee2gxnUQUJJDPg6fEJvF5PtgmCJpEuq 2+5pWisjHn7VWh57YQXRKD7iOqeNFjDrxvDgWYGU2ySyTTmP3DU= =4kni -----END PGP SIGNATURE----- --zv9Bvlc42mHfmwj43hiP5sXCCb7PHKzlV--