Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id CE881C6FD19 for ; Thu, 16 Mar 2023 13:18:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230222AbjCPNSR (ORCPT ); Thu, 16 Mar 2023 09:18:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60098 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230224AbjCPNSA (ORCPT ); Thu, 16 Mar 2023 09:18:00 -0400 Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8D880C97CD; Thu, 16 Mar 2023 06:17:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1678972648; x=1710508648; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=of0d28FFgh9Xl3ElqQ66LN17pyuEdYTvhM0MuipawD0=; b=mCIXoOw+blIYHyQAHhGWSPA3ljEIzAiYJQ10bLY0bqxAO2reHCqlARZf sSUvQB2oqsdcDm+31MV/K7uKX3gAcCWLK+q5tx0R1kdZjaI+9hyaAIoVV 0ODm9AFUUppq45Z2a0T+IHTZtPnOKOkVbCvrKTgazB7dcGaeDtix/XBKp U2JnkrT15njl/IdEIMgkL2fbFV4qrn3L3k+IavVgTe/wKK//y5ZIww3Iz XcKWztiwVeviM32P+fQxyaxAR4YdSJLPIIJsQKs6bEJV3X2Er/grPFtcJ YxYDO1TxKGPYD8viFoDX2MnwGbOdzntZKnSpUo/eJDzVRYv0YT+jeW8AZ g==; X-IronPort-AV: E=McAfee;i="6600,9927,10650"; a="318376590" X-IronPort-AV: E=Sophos;i="5.98,265,1673942400"; d="scan'208";a="318376590" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Mar 2023 06:17:15 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10650"; a="679890781" X-IronPort-AV: E=Sophos;i="5.98,265,1673942400"; d="scan'208";a="679890781" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by orsmga002.jf.intel.com with ESMTP; 16 Mar 2023 06:17:14 -0700 Received: from fmsmsx603.amr.corp.intel.com (10.18.126.83) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21; Thu, 16 Mar 2023 06:17:14 -0700 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21 via Frontend Transport; Thu, 16 Mar 2023 06:17:14 -0700 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (104.47.59.169) by edgegateway.intel.com (192.55.55.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.21; Thu, 16 Mar 2023 06:17:13 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hP8t9K7RgF1o6NHGWfXEyblCrcqQU3QYz/LHrALUPhjH2HQw52EPvoaU1Nv2kT0lW46JBO4xk5ENlj01vuMNKgtnBVsb1xz3YQ317E3tU9rrgQJMDhQTWf8d8BZAOBAOOxW1Hn3AaEZgLZIlZn8LQcfyufyU9SdJ4Al9WkcfHhHS3nvVtVgS+af9MfR1X7toboWVa9dsmoSOyQshMTjqbLetHPERC1g1+0EMnQona4I7kKssFF9IJs/8/AOluFlX4lZ5gMdlwIhdttJ1qWj4ytD2/Qj+Ig9vROKexqAOPef5izYdCOaohhCHUfKPSbxPqENv+PvceTvIrvS2pnEE1g== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=of0d28FFgh9Xl3ElqQ66LN17pyuEdYTvhM0MuipawD0=; b=M6knRCst2X0RMJdmKeSdDf0YZZ+P3ODqyMh90iyLjIp1E5aHEGELFeIbPIfh/i4WnR0toEKAbm577UoJj3bS0SIKwAFOJD+cfJmCOzShC5uIByfPeEsD+w844qbEP0FUNOslR5PiysS3Df895wzYm1uC/I8UVYVAakyjqayn2P/YdSm7TRRpozaWL1vlx7GyOvPJK4LYo3pszthzTYkcSfQqhvnF0j5bod2sJAvfU6hmNZaqW8fFJDyY82IyDz/9kuyXvXciZPTNwcNz4FtP03Xo+j8lB+ZRPP0XAmAXWyogtm+PqnravdLB8RlgqfR+lV9DPVLbKD/iPN7SGngxGg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Received: from IA1PR11MB6171.namprd11.prod.outlook.com (2603:10b6:208:3e9::13) by PH0PR11MB4805.namprd11.prod.outlook.com (2603:10b6:510:32::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6178.31; Thu, 16 Mar 2023 13:17:11 +0000 Received: from IA1PR11MB6171.namprd11.prod.outlook.com ([fe80::2aed:1a72:b351:1601]) by IA1PR11MB6171.namprd11.prod.outlook.com ([fe80::2aed:1a72:b351:1601%9]) with mapi id 15.20.6178.031; Thu, 16 Mar 2023 13:17:10 +0000 From: "Zhuo, Qiuxu" To: "paulmck@kernel.org" , Joel Fernandes CC: Frederic Weisbecker , Josh Triplett , Neeraj Upadhyay , Davidlohr Bueso , Steven Rostedt , Mathieu Desnoyers , Lai Jiangshan , "rcu@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: RE: [PATCH 1/1] rcu/rcuscale: Stop kfree_scale_thread thread(s) after unloading rcuscale Thread-Topic: [PATCH 1/1] rcu/rcuscale: Stop kfree_scale_thread thread(s) after unloading rcuscale Thread-Index: AQHZVYJ6y9lPL1nBiUy5prGqw8pyma765zaAgADmYLCAABeigIAALuYAgAFQWLA= Date: Thu, 16 Mar 2023 13:17:10 +0000 Message-ID: References: <20230313080403.89290-1-qiuxu.zhuo@intel.com> <87b5fd9c-b34e-4105-8bbb-7902f17356cf@paulmck-laptop> In-Reply-To: <87b5fd9c-b34e-4105-8bbb-7902f17356cf@paulmck-laptop> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: IA1PR11MB6171:EE_|PH0PR11MB4805:EE_ x-ms-office365-filtering-correlation-id: 80cbcf90-413f-423c-b55f-08db2620c00f x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: eGWp8y86uMc1aI8uSNGy908GOJmvgtv9yZgshKFxzaKb6SeEOKJi0yM/o6IeE+qVOPxmFMer51itEtLCv921D2cbkh3NaMzMB7UxMf6ZyHV2RS/O4LRD4hre7LhKduTgayviTZJ88h9/V0VawXzvFpo49rpVB+U73sEKa/QSyDlgB77/6cflx8rSFQ988gQsjm5VhI4gucTTf9VRKqz80VuPIUlgCA57dtnaCQO5Uik5jlNEMTY4v0rTYeBXIQHgL88hgZ8Y5lBjOYeOT1VbOmgk523A1FafDmm9SNi1+9w0cUMJi7RpnvrpsdC2CsBquc5lsjAW7JOfQZMo88e+d4oWn2+4R7MceDepCLV6KtTgtJNEbt6j8IuxHFrlriwfwD12F0El8GWTuWTGPxYh0q2Wx9iy48vZFGf1ufMnMQNc1LKAT1dLiOlLPhDEgXWKspXBK9+qlcT5Mi7/aBP2Apqq0OuOJ6WlDiw6JBAOW/z/jPEzxxqnLtW+BM1zp/ZK1ndTmZoshdUPLlH1qL18AbsKpJsLPeTXNsZPuwlcq/7DhkUkavIEcP6wD8Vw1gsMGJVebfezDcT5176hTzwqcsDB0zLkUNCCKOwCnnILwXvQz3oJh7OblmTWdvPdE7h2a63loPr0ZU+a2HzX2IV0s/OR85vzdE1LmsXJDW2LqJyCHov9MTSBMlWAREJ82naoe3jO7YssYX9/DMmLhkOUyg== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:IA1PR11MB6171.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230025)(366004)(136003)(39860400002)(396003)(346002)(376002)(451199018)(33656002)(52536014)(41300700001)(5660300002)(7416002)(8936002)(2906002)(38100700002)(86362001)(38070700005)(82960400001)(122000001)(7696005)(71200400001)(76116006)(64756008)(66556008)(66446008)(66476007)(8676002)(66946007)(478600001)(110136005)(4326008)(55016003)(316002)(54906003)(83380400001)(186003)(9686003)(6506007)(26005);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?eG5vV1RuS1gyakp3bklpcFg4dGNDQzRtdklLNU85bVRFSmpvVGNsVjdaMHdW?= =?utf-8?B?Ni9xcC9vZHcrSTJzSkhwYzlodXBXQXhEL21tWW1GWCt4M2J3NmdGMzBrUjR1?= =?utf-8?B?cFoxSENxYzZPS3g3ZjFJaDdTaFJmWGRnRnVyREdCRFVVNFlDMW5EUnpKYVJm?= =?utf-8?B?MUNmSWlrUDF5d3ZJaERhVDlIazZoUmdkdkp5L2NYWVZ4RmQ3cjVvaTM4eG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S0t6N1V6ZlljdDQ3SnMzYXZ1UzJJVmdFeDhicFM1Zm14QytJc0JG?= =?utf-8?B?MWtQQ00zYTJLVUg3YlZYMVB6bGRwOFFwZlcwRFpZZ2RmZkc1VUhRMEFITFlW?= =?utf-8?Q?DCvr68vwvvGyf3psHEK3jPORd?= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: IA1PR11MB6171.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 80cbcf90-413f-423c-b55f-08db2620c00f X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Mar 2023 13:17:10.5964 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: oj2Lg5SD3WC9d+7o5QQ+APdWfFocoM3VRY+tkc70VTwKa4JFciJECwwkXOtNNxtlv3cuobyc5KH2dxM/ANQL1A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR11MB4805 X-OriginatorOrg: intel.com Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org PiBGcm9tOiBQYXVsIEUuIE1jS2VubmV5IDxwYXVsbWNrQGtlcm5lbC5vcmc+DQo+IFsuLi5dDQo+ ID4gPg0KPiA+ID4gSG93IGFib3V0IHRvIHB1bGwgdGhlIHJjdV9zY2FsZV9jbGVhbnVwKCkgZnVu Y3Rpb24gYWZ0ZXINCj4ga2ZyZWVfc2NhbGVfY2xlYW51cCgpLg0KPiA+ID4gVGhpcyBncm91cHMg a2ZyZWVfKiBmdW5jdGlvbnMgYW5kIGdyb3VwcyByY3Vfc2NhbGVfKiBmdW5jdGlvbnMuDQo+ID4g PiBUaGVuIHRoZSBjb2RlIHdvdWxkIGxvb2sgY2xlY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