Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp4395950pxb; Tue, 26 Jan 2021 22:13:06 -0800 (PST) X-Google-Smtp-Source: ABdhPJwGbuUxF7jFd1GUvLBg40Fyv03FXyIX0G56A2CRo3pm3Eb5ANnGTtd+8lV3GVvANOXan3Kk X-Received: by 2002:a17:906:796:: with SMTP id l22mr5759855ejc.247.1611727986160; Tue, 26 Jan 2021 22:13:06 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1611727986; cv=pass; d=google.com; s=arc-20160816; b=AfcUK0Bw7omRht4PZNNWiAkAE0R6QyQ5wbo8wNPxNjej392FzZCaXhjL38w7nApRcc llnQDFPTcSfLa/K7hdBpMDwjCOlBy/nr1xVDs4l7CizdW0u9Xy2/6vbsQv3k0nbMLA4b X93jHi0KUZCsQS78qVhCBXeLrZjdmh2/8ClzoSwmNArnhWXXoQLEAlSS65rhS0BLQ3+E aHsVStxiea88wiRoJ0zETlXbuJJ3IAWdkNnOW50y/ErBxHXNJCLLoZFnDY84FSjSty6d 1T6tEP5Gw4URRFwB6kZoKjDds7nI7GOgZfbACYEwOQyWc/0p9ltadFijMP95LdSrfNPX OzLw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence: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=eWkBWW24pKYj5uuM6vMM7ux1CqH2NbeqbrXEyUlPhfE=; b=wKmP7FCX7SeOIrOWQzi3W2WH2+bN6DOStrUH03Lz7UkMgpDibijitJhnmZyKKqJKVw +2K0BcSVrADAPrf/EWbexzkzRViTEv67+pC+wmBqktgcMbAK4w5SaxFyhvtCSv4h3py3 qwZ8uN6mqW9U0ma/K0SYAaVeY6Is+LxWTRn1Sv2HvB2iKSF1xZIKMMFNrc0vlZvQ9tD2 KtNYdbI5aKZrW+Snr52NjO3Wnlrl1Rh8W/7OfmeLLfhtGEwva+eMNra3vyZkUcktmaCj IeCRr7dhjr29zuWzeyqx1upUU1gmEFJXx4LIi5X/h4yD5w4norC43TP7xWEXBXnq2OCs Miyg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@windriversystems.onmicrosoft.com header.s=selector2-windriversystems-onmicrosoft-com header.b=kM93sMfo; 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 l16si407618ejd.683.2021.01.26.22.12.42; Tue, 26 Jan 2021 22:13:06 -0800 (PST) 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=kM93sMfo; 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 S2403908AbhAZSFn (ORCPT + 99 others); Tue, 26 Jan 2021 13:05:43 -0500 Received: from mail-eopbgr770088.outbound.protection.outlook.com ([40.107.77.88]:63808 "EHLO NAM02-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2389396AbhAZJYA (ORCPT ); Tue, 26 Jan 2021 04:24:00 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=gZ2wN3LZOeyL1tdlqROl1ti2QuC8rpWM9sAPOzbHnxRc2AC2yHYEWssQcEeZ/JR+RIWUpBlMzRPLi4wWibkjVkYadhKsfd78FchkmIMJIP5I8VVwZDnUZveCmU3nJ/2DVmRV/fDrgVOhARetKODE35VvWIf3k9rpGBpVzV5iHwXEJV7Y3IZWeXAWPHRwHIvnkTd8kNgWaTtoRwwFjZKWkPxQ6JUU46B59mtscif1cOWR5o9tGotcxf6h5pHP3aRLuguDuDZwI0vr3WWnrWAEyEHv8BtNlu4qea53SLX/ud8iM7QVSbnaeIQA834fj8dj2cNSful6FXhiJZaHyPfTVw== 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=eWkBWW24pKYj5uuM6vMM7ux1CqH2NbeqbrXEyUlPhfE=; b=YDxh6QqUpC6bWlJY2CbUeSrh+AA4bkY+PpksMb3dV0R7cF0E3SkBOgIDHAtCwOh1g0xHWlBs1BeQ7JlpmVrDfNBysi6xk1ar+F7ca5q+iHzCxbucg1/GFp5ios4sphF9SknCFuen/SUO6VDOVqLu6GRNp+Cyyin8SLO1H6XspsG7e8dhjO48JewGFit6eP5jS8uyN5GDVfC8YmKB/G/Ci1KFoyr4iCTQQyRl1FxNE64xSQ2tEC2ecFutyhGTi/gQY+7LF3LlJuEvmQjRGy9GBL7Hllh7YeK2iedFdOct530XNr0hNMhiLzNduYYLg4HCByKgH85xP1c6rcVgEUm/5A== 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=eWkBWW24pKYj5uuM6vMM7ux1CqH2NbeqbrXEyUlPhfE=; b=kM93sMfoxnCp2OIjXiRqQRV7vUfgRQ4UwXRgZJgEGuKYcwrYPo0Qux+I+knQRnhlc0XbMQYbUXDHhKdg46IjoWNbyxj2COb6ndl76eWwDRf+yGfdOX8Bw3vZK3l9v2F4+6HdkgE4MvakaUH26M9tiu2zpvTTR6MVmet4uexmYPc= Received: from BYAPR11MB2632.namprd11.prod.outlook.com (2603:10b6:a02:c4::17) by BY5PR11MB4242.namprd11.prod.outlook.com (2603:10b6:a03:1c1::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3784.12; Tue, 26 Jan 2021 09:23:11 +0000 Received: from BYAPR11MB2632.namprd11.prod.outlook.com ([fe80::89a3:42c3:6509:4acd]) by BYAPR11MB2632.namprd11.prod.outlook.com ([fe80::89a3:42c3:6509:4acd%4]) with mapi id 15.20.3784.017; Tue, 26 Jan 2021 09:23:11 +0000 From: "Zhang, Qiang" To: "valentin.schneider@arm.com" CC: "peterz@infradead.org" , "linux-kernel@vger.kernel.org" Subject: =?gb2312?B?u9i4tDogW1BBVENIXSBzY2hlZC9jb3JlOiBhZGQgcmN1X3JlYWRfbG9jay91?= =?gb2312?Q?nlock()_protection?= Thread-Topic: [PATCH] sched/core: add rcu_read_lock/unlock() protection Thread-Index: AQHW871OhRtkc+UkqUuCtofT48UgT6o5n3+1 Date: Tue, 26 Jan 2021 09:23:11 +0000 Message-ID: References: <20210126084651.32277-1-qiang.zhang@windriver.com> In-Reply-To: <20210126084651.32277-1-qiang.zhang@windriver.com> Accept-Language: zh-CN, en-US Content-Language: zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: arm.com; dkim=none (message not signed) header.d=none;arm.com; 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: a5a7c575-37f5-4f34-3521-08d8c1dc0015 x-ms-traffictypediagnostic: BY5PR11MB4242: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:494; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: H5nkL+Lyif42xgonBgz+Drulamc8moSIGL6QOWtkFFB/5eu0fePAleMQDVUMPy0GGmOfNUOlXoK2V2bdMPja739ujjaOiKlcIbkvjUItgeLgBn1v2MsyQMEIWDX9UF/UYETVV0AEZZWb2m4fsszZOKlu/WhGDl2C3nWfVdCsUCc7CEeXtMSj4daAeYQxaWYzcvk0G6NStbwKcYXcmw2RNWS32cKjwCOD79pVQbHMpySJAE9quPfdemHR3TdULNgGlSpivgEKUSlZM4qkTwb8YtwqWSkrpeVwbzdAd5b3ojXGWXBe6huCcilhClOOhK2KlAvwC86pbCdtH/98DdzL2xTcccRjbG7nX44LYgH7jPcrctOWuW0GhMyXRlWs9i11mhC1SGtLqREll0ZpuFf4Eg== 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:(4636009)(136003)(396003)(376002)(346002)(366004)(39850400004)(9686003)(5660300002)(55016002)(52536014)(8936002)(478600001)(7696005)(316002)(224303003)(71200400001)(91956017)(64756008)(26005)(66556008)(54906003)(66476007)(4326008)(76116006)(66446008)(33656002)(83380400001)(2906002)(6916009)(186003)(66946007)(86362001)(6506007);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata: =?gb2312?B?UjFidms5Lzc5RzczcnM5d1ZhNGNSTXVVc1M4ZlM0M01nY3pMeEswZS9paGZS?= =?gb2312?B?TG53TmwybzdWTFBMbWU5cHRsamZZQ0hiWmNxQ0tJQ1ZiczR4bVBtRG5UMkY3?= =?gb2312?B?QlF1a3JaQXpvQVlha2taT3dzNnplRkFKZnAxeTdpS2hJQXNQUnRxZFozK3Rn?= =?gb2312?B?YkF2T3RpK1Z0bElpWGZIaXdBd3M2T3pUeHlPSUNvQlY3cXlp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ya2k2b1ZtT0pkL0U2emVhZmF1N0Vs?= =?gb2312?B?a29OQ2JqNHhXeXJtQlVzZEhYNzFSaUt2L3QwNlEzd0RmbXl2cm4rU3ZLTnV0?= =?gb2312?B?V2RYVjB1TmU0ZHFQdG5zSldZbVlUV081a2FZcFA5aFFTSzRDS0hBenJiVTRo?= =?gb2312?B?OWFwaVlTRmFzN21zYUpzcjBTYUFaUjBmdHFTcFdOZnVTYzh3WFZLYUlyV05J?= =?gb2312?B?SWcvZWN2SGdzdmkrSkY5YVdyUFE5eWdiQmlFSWcyRllHS2tMNU1WTjRUa1ZZ?= =?gb2312?Q?gPcByEnJI5ZmBiJsxsfVMe5qAFev28Qk=3D?= 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: a5a7c575-37f5-4f34-3521-08d8c1dc0015 X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Jan 2021 09:23:11.0641 (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: SVYwMY9lqei2IR411y6mTeLvdz5wAaq7XFVKTh0Uezl3/lTdkj7/A2S4AkQbwLcbdwAuEhmSjhnXbDLODzdlJzOzOEbo+8q7ub7ANUyemmk= X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR11MB4242 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org CgpfX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCreivP7IyzogWmhhbmcs IFFpYW5nIDxxaWFuZy56aGFuZ0B3aW5kcml2ZXIuY29tP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