Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp167677pxa; Tue, 18 Aug 2020 20:02:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyhXPCf6K2uy2NzcbAl8GKpd3pprLfN52Kxpzp5c/O6BNt/AYuw3kr7boEVrb3oNtlKG3QT X-Received: by 2002:a05:6402:84e:: with SMTP id b14mr22195515edz.115.1597806157729; Tue, 18 Aug 2020 20:02:37 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1597806157; cv=pass; d=google.com; s=arc-20160816; b=fPIcT4TTzOuGO/u6vJ4wyHma3VV0R4LuZVplWe6u+1bD8C724j8ZbPFNtmfJIQ3LE4 boDG/Tagv3UAiMt6jLh82lTtBO8HauLa5eS02YJLGGiAdchjl5mj98TEya29ES1Wquto DHGRssRyTC4H2co8/MkzIjCCsA8DOAKkiIGBZTL6Z8oSsTBTL4Drs8rj9BC8v8f/a7RF O5I5H5qtVLWR0h+KyZFYOJDZv2nn74YeN/rIfzrjodClQPV4Z1iYx/LvVddYzDzYrnHF BowjiUU90B9gvM8+KqOIPx58EFwUjvbs/FF1xwuVZwHyzOdn9HivAiQxm0D830sRNwlj Z7kQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=K4anXAotL0Pcwi5XJ/0+HRNTG+TWvFrSlCxtYY0LBxo=; b=QpS6gwK2hL3MXL5Pq8hcmTDWaKgz8ri6tNkDn5+VBENLyUutVeuYyGkuyJ7ocQ/Wpe H5nOwzxXXLWru7VOqSafSf/rjmQhaYAakFDyYDUK7I+n4tjxzIdHy8pk+3CnRwCEdFAJ hiyF39hoyd9qaiV4RG6/W1mKwJpEOqbAXM+Y2dLTF+9n3nBBzOPvqe82JwIA9WHS/oan cMTousZMEG1apnZKmCQAV/qaNbDpQ6EsnVrOfyGPV97NBLyxJ1xmyAV5gmdOWWl3NNT+ ySkip13xLn2/cFLEeJkHc3EdKcdSHmpewq3e3QRq6VBmgNtMHCaQlSgy1ZQsBpHkYpph oo/g== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@windriversystems.onmicrosoft.com header.s=selector2-windriversystems-onmicrosoft-com header.b=aIilUakJ; arc=pass (i=1 spf=pass spfdomain=windriver.com dkim=pass dkdomain=windriver.com dmarc=pass fromdomain=windriver.com); 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v19si15518507ejc.260.2020.08.18.20.02.13; Tue, 18 Aug 2020 20:02:37 -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=@windriversystems.onmicrosoft.com header.s=selector2-windriversystems-onmicrosoft-com header.b=aIilUakJ; arc=pass (i=1 spf=pass spfdomain=windriver.com dkim=pass dkdomain=windriver.com dmarc=pass fromdomain=windriver.com); 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726991AbgHSDBC (ORCPT + 99 others); Tue, 18 Aug 2020 23:01:02 -0400 Received: from mail-bn8nam12on2051.outbound.protection.outlook.com ([40.107.237.51]:57441 "EHLO NAM12-BN8-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726605AbgHSDBA (ORCPT ); Tue, 18 Aug 2020 23:01:00 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=O4Ls2Mgvm+0sAZskHoOHARYODI8jP5lZPY0sw71yXXNfD7UPCw3T//MoVOGbr3aU8LMWZNSj/7rZ4Q+PhqcIiynkW40c8StjiOpu8NU39kctpE4hWgINxBD9WvoLqcVgC3sxBHHXU/9tWb+bDE763GLNfqso4QPUQLhGROM53RWJ8qPacUCppm6HFDvp5BihY6PIg4YjRWXM/UMfE8SxAxUzpjJo+myHlo1V66vM0Mziq4Xnaoq7gPmQB5GXrriPxUTd/+D6Mys6omRC61IhQAB3n8SFaq/mqj8OkA8FIzX4oefUPByHmoiwn0OC4ulWEEW44qThuV4bf4y2ka3zyQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=K4anXAotL0Pcwi5XJ/0+HRNTG+TWvFrSlCxtYY0LBxo=; b=TJwIw3nStoZ1ee192HMsRAyfu1PHgaDBQbgoSGDC2KxVFrNCPas6TYd9MEpCRtMJNjGzucfCOGkqZuy8NDfwXIUGXxxx4AO4eliPrww4Dxnx/PX18VJ6YPzMSQEPOI5lQrei9U8btaZqRjfC8VtW+j71ZOj8Dn2a7HbMAlY/NvTnyYt4ZlWsMPo9OpqHtdgwuRUI6Ezx207CVpMdAiBw6iK+wZ+pKGgdX4EWhGYZZu/51AEEmgYEC9IcSQngHF0kZDAoQOWtXq+F60M4+REBmeMGEFLywnrAj0jgACBX90dyGQv7Xa8hd8z8BnIdEJ0R7361cw/QI9DnUY0YZtQjaQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=windriver.com; dmarc=pass action=none header.from=windriver.com; dkim=pass header.d=windriver.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=windriversystems.onmicrosoft.com; s=selector2-windriversystems-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=K4anXAotL0Pcwi5XJ/0+HRNTG+TWvFrSlCxtYY0LBxo=; b=aIilUakJwsQzVeRwNL2fvVFPGQ99QhQEJbXPlD0SBiW56Pz+VPmoG50kRCwRwRr9b+m/cFh6pjlrEaLUvG4+W2pk76QTGeXazjA/EnizeTXW9uhtA4dvLooZL/HAgRiYitjl4Br1k7tTVfIQ3pqjAzJpefZw9M1OEb26l59j+yY= Received: from BYAPR11MB2632.namprd11.prod.outlook.com (2603:10b6:a02:c4::17) by BY5PR11MB3974.namprd11.prod.outlook.com (2603:10b6:a03:183::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3283.16; Wed, 19 Aug 2020 03:00:55 +0000 Received: from BYAPR11MB2632.namprd11.prod.outlook.com ([fe80::d87a:b368:655c:e12b]) by BYAPR11MB2632.namprd11.prod.outlook.com ([fe80::d87a:b368:655c:e12b%7]) with mapi id 15.20.3305.024; Wed, 19 Aug 2020 03:00:55 +0000 From: "Zhang, Qiang" To: Joel Fernandes , "Paul E. McKenney" CC: Uladzislau Rezki , Josh Triplett , Steven Rostedt , Mathieu Desnoyers , Lai Jiangshan , rcu , LKML Subject: =?gb2312?B?u9i4tDogW1BBVENIXSByY3U6IHNocmluayBlYWNoIHBvc3NpYmxlIGNwdSBr?= =?gb2312?Q?rcp?= Thread-Topic: [PATCH] rcu: shrink each possible cpu krcp Thread-Index: AQHWcga7sO8bq15f3keIlQdVriJj06k388MAgATsxwCAAUJ8gIAAHKGAgAAidYCAAA5TgIAAAh6AgAAh+ACAACseKw== Date: Wed, 19 Aug 2020 03:00:55 +0000 Message-ID: References: <20200814064557.17365-1-qiang.zhang@windriver.com> <20200814185124.GA2113@pc636> <20200818171807.GI27891@paulmck-ThinkPad-P72> <20200818210355.GM27891@paulmck-ThinkPad-P72> <20200818215511.GA2538@pc636> <20200818220245.GO27891@paulmck-ThinkPad-P72>, In-Reply-To: Accept-Language: zh-CN, en-US Content-Language: zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: joelfernandes.org; dkim=none (message not signed) header.d=none;joelfernandes.org; dmarc=none action=none header.from=windriver.com; x-originating-ip: [60.247.85.82] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: a5adb7e2-5b46-4e21-a8ec-08d843ec173a x-ms-traffictypediagnostic: BY5PR11MB3974: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7219; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 3OkvStO6yADUWzTNi+yLq5ylpcG3wxR6FEFJYReJkYR/8kC2b+xbv00d8qemyd0pYy+WYjdD7EKcZAcDN7pFWsm98b/WbeVOn7ssbVLG3KBWi5dVnfl/Nztsi5Wfflrd70jfUmIdRajO46p0wxSM7LGm2VCJ/fxHQs/QI3eY7UBafZD2Ul5ThtUDgpp4WzQx8dUP51zhnlXa7jThYTTtf+L40zr9gAVophJuTJD+rUA1fpJjjpGTT+HAs76iPakqCn4eRjLpnmwwICgvO3CAO2FQFzA/s/4zPelr8ci4DVfwYmIN5h+5LBVePh9Rdsq1 x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BYAPR11MB2632.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(136003)(366004)(376002)(39840400004)(396003)(346002)(86362001)(55016002)(83380400001)(71200400001)(186003)(7696005)(54906003)(53546011)(6506007)(33656002)(316002)(9686003)(478600001)(66574015)(76116006)(4326008)(8936002)(5660300002)(2906002)(110136005)(224303003)(26005)(66446008)(52536014)(66946007)(64756008)(66556008)(66476007)(91956017);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata: xhWwdYZHSk+byCkha1p6ByH/m2Kg+R2OlG637j+nh5Ceig4wqwZ32Bczcijl/I4zKHNCEwk3BgMdXEay+f0F5lJ5oVTyAKk0kMSUzg4iD2n202j+qYCmvFRPz6OkR6dmlR9JNscIr93M7EiV7nxNJLu6C15Rv7RoM5cKz8Chjt3rsbz1+IPGrT1wViBg0oU7JxKyf+CrSn/7FXetLV4bolAl9EFZHxNGRcuFwAtuXr21AyT9QCc43ydbXztXbYey5ACYZLt082XYliPu8mQWLr7DIRsWHyx6AOIFzf/iIr1MI4Dq2AlF1oeO38QCpsZvJ9H/L3N9FCPPLn5ut2p6ltsnYN3d6xrx6TfqszSn7hAUzjwqL1hM50y4QfpNkK2OpLH5VcbfAESXuCKodzaLgvZKbBZNPambn3/LyRICwe8mbzwVQlWjFXLS7zHMkRw/ldD3KHVkRRFELSN04T3kaSYIVzJ/4IU+zEnJqs1uUgphZwTYFPx2NKx1acmjVP/XncXBr/ggN8AYkLjUYYYgYu7vBSW4mCjMGVYzc5FFp/O+429i5DXqOddJd4l9SNFY3EHCP9lbpuD1VXdTgHf9z3RCG2qLPgmgEivQxtBU2pDUcZoBzgdY0xykAvC2VZc0wc0X29MvVIef5VwV4g+tlg== x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: windriver.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BYAPR11MB2632.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: a5adb7e2-5b46-4e21-a8ec-08d843ec173a X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Aug 2020 03:00:55.2848 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 8ddb2873-a1ad-4a18-ae4e-4644631433be X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: zdhOTDL4zRqjPRWQQumolP8egV6Oxab3bAmP/182qXD/AeZtsXFJtxCThBRhMi+bwI9M3uxk0SfzIVUhQLQhQxPKVK2MxByolW69yOsNIg0= X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR11MB3974 Sender: linux-kernel-owner@vger.kernel.org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