Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1254655pxb; Sun, 17 Jan 2021 02:19:41 -0800 (PST) X-Google-Smtp-Source: ABdhPJxY1xmb88baG+8Yzu02F8ZZ+uczpbPmc3XJRPvp4fkZO7Pgcz7RxHmwB7d7U057FbjGi8hh X-Received: by 2002:a05:6402:2547:: with SMTP id l7mr9398891edb.157.1610878781402; Sun, 17 Jan 2021 02:19:41 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1610878781; cv=pass; d=google.com; s=arc-20160816; b=H+Ac5r/TKwCGuY7A/E1X4iSN6MZLOs4F/KTezSwaYi9kFGDPap9FHUNWDVP5ebHRcE JJIkMZrQNZHIkhlGmOhRhegxNq2NYjz0v8Z1pLq+gCCreHAPVpH/AjUA5B41xJA7K64D tWPkKGyD0vamdCcnXHg8uEgZTMdVZuP3hcgLvtCnp++pd6dyNsYV4qCuzCH5QLgkSfmi VwPVuncdTnSnVmvsXfVQszamCgHBk0n8qIcSrYQ0pt2FpbU7PxTpT5Ske6Kl6+bOjltp +a8uOLtxdIYv7qgqKYspbSDJBNo20lLxlX8wPwATW6gVQa8Zjd3SVReHD0VCa6bI++0Z /E4Q== 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=kiBdqmCXWlhg9fLOX+vAq+YjTQ2f6KZ7CD/iTbzaxek=; b=KEd9TPaKWnU7KRH7GFXHGPPNEZRYN5uuFWypnC6fcdkuqp5yNuA6hG2GuDOXV5tYIa Zq2Yccb4L1A55B8eC7ckLEQyjhkFJd7Voe3+VfxbXypXuzbc+M4B7Auk8XHqBVmNnqqK 7vpk7Sy2IiWqGzx51mvwsuA7JvVvlVuclF6uMFWh70U7JXEVE3nLju0el3JuMgYnqNFo 5Rhi17pR7V1YLTCEcZrID9emthz9LKFZnkJ2G4Qbu0VQfZGQihhPscOVsRVYleZYiF4d 9WsbI/b0LXMGxBXGjH+muXSQASbiaxShM9GDBbJ4FpQAovfmn3elMmwm1wghGv/97KiK dvJw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@windriversystems.onmicrosoft.com header.s=selector2-windriversystems-onmicrosoft-com header.b="Fel/misf"; 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 h19si7114955edt.159.2021.01.17.02.19.18; Sun, 17 Jan 2021 02:19:41 -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="Fel/misf"; 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 S1728263AbhAQKR6 (ORCPT + 99 others); Sun, 17 Jan 2021 05:17:58 -0500 Received: from mail-eopbgr750047.outbound.protection.outlook.com ([40.107.75.47]:36163 "EHLO NAM02-BL2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728198AbhAQKRc (ORCPT ); Sun, 17 Jan 2021 05:17:32 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Zn+QiVKKJ7OpWvhMoOyVttgFDS2FTNRs3i1vs3zR9lZTWzhI9g8Vpl53oPw0PmBqW46eGCvHHBbnIUl/kYXdaKe35ilmAqfJMNSJPsdNj8ugtOJ3Jo/yfqSWj0kWVovmFEKt8SYuYiittLmCrDDxiHzs+etXvKXCS2cLaWrIpkMqzyq6YGHasErbvWu7QPjcLeavraCZbZI+L1mnWUBOx/20Fup+YvganXLkCQfW0GV3pZVSyLQ1UrJMk4ypSyufuhWrmIS6hUBrrFeY16HscCQ6kfAQxGMLRlwxpjs1t+M+Iv/7Dj6kWelRhTs6kgr9UX8qQ+dgClWCitfAh8ED+g== 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=kiBdqmCXWlhg9fLOX+vAq+YjTQ2f6KZ7CD/iTbzaxek=; b=Mq0lqiY81dYIb6WZ1CkIEAKadgPcMLRe/ShrcDphnxCQl4xNwSbn3qyvCLQ8HVbQ2vDQdQKb2YuoSNztvokvFKOI2iOx2ihIUZmkN0Jg5GUizy/A9eSZUmERD7ImtyeoAcz5W5R/GHxUmNIMpAQR07juzF7Vel2VwzptjFTz9/k+b/RFU4Phs06aoUv7wu+dqTKqTVKKmbTvlrVT37xxfI3iTq4JD0av6K+8YEmrw3hc0Rq/Fo+uoID53Z5/6ECzo/B9BH/ByNXzuZIBotovMfB8MoYCZH+ACxw8B4SYn4/JoxWJjtceZP/OUr8IdtJqCYhqha5NHMT5fSI0o8pntA== 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=kiBdqmCXWlhg9fLOX+vAq+YjTQ2f6KZ7CD/iTbzaxek=; b=Fel/misfxPCy+15BS1xAzTYAWUT0OSfFETdcNq6zQ+AoLcjhKrYpddIDgORUFlTFY56qEkG13XkdqF5hasHm9wYnR/7+3U3Y4GsPb9nyT1+GI+NnHNc0qAlEtEPiUwj6HZkFQFL7dQ9p1Tpo51h6e0EKnupSkngfvC83e7j76Rk= Received: from BYAPR11MB2632.namprd11.prod.outlook.com (2603:10b6:a02:c4::17) by BYAPR11MB2918.namprd11.prod.outlook.com (2603:10b6:a03:92::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3763.10; Sun, 17 Jan 2021 10:16:23 +0000 Received: from BYAPR11MB2632.namprd11.prod.outlook.com ([fe80::94a4:4e15:ab64:5006]) by BYAPR11MB2632.namprd11.prod.outlook.com ([fe80::94a4:4e15:ab64:5006%5]) with mapi id 15.20.3763.014; Sun, 17 Jan 2021 10:16:23 +0000 From: "Zhang, Qiang" To: Peter Zijlstra , "laijs@linux.alibaba.com" CC: "linux-kernel@vger.kernel.org" Subject: =?gb2312?B?u9i4tDogUXVlc3Rpb24gb24gICB3b3JrcXVldWU6IE1hbnVhbGx5IGJyZWFr?= =?gb2312?Q?_affinity_on_hotplug?= Thread-Topic: Question on workqueue: Manually break affinity on hotplug Thread-Index: AQHW6kaGanHzOLWWlkGf08xC7Dod66om1gUAgAS7tyM= Date: Sun, 17 Jan 2021 10:16:23 +0000 Message-ID: References: , In-Reply-To: Accept-Language: zh-CN, en-US Content-Language: zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: infradead.org; dkim=none (message not signed) header.d=none;infradead.org; dmarc=none action=none header.from=windriver.com; x-originating-ip: [106.39.151.201] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 3e9a5191-875e-4fb9-1b38-08d8bad0f118 x-ms-traffictypediagnostic: BYAPR11MB2918: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6790; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: gB3CyFMISx5ZbH8LoER/mCdnvs3a54iWoiBCz/ueDY3k/00aluRpfI/pU1mq6EJoSrQVRFh3Za+fu42HvWq1j/MIJ3Ub2gocUZs0GWoZ2AXMg27vRPufExpLcjm8BkL32d0f0tBwah+G8saGklvH7ljYI3WE2XD2pR9QhsZzPg2flhGWOPJOkeCWDjT8BfPD3X3yUcIC5VPLnwKocUZ1erwb8Gnp+BywxGSd9zJUi1gol6gvrebIZWh5z4SL1YI7N9WF+SYv++1YR4QUTmCMmLDFNEj+8ijmpfoMlj8yAkub1/aIZ6rXAkHitimBB76FPNTUzFLCoTq35GklaRa44fYzGctOsarPBlFJ41iziSIEq7sAEb31Pw/aObe8tuBertnXdjQGr8IdnNQhWZT2Y9iovLmaatpV4GQqLSFVeRI+oToljlvL36RGnfmEL9+MkgY+xJeUEKCbmEErg/+h+Q== 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)(396003)(346002)(366004)(376002)(136003)(39840400004)(316002)(33656002)(6506007)(110136005)(8936002)(4326008)(91956017)(76116006)(186003)(966005)(478600001)(26005)(71200400001)(52536014)(86362001)(5660300002)(64756008)(66446008)(66556008)(66476007)(66946007)(224303003)(7696005)(83380400001)(2906002)(9686003)(55016002);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata: =?gb2312?B?RDJuTEo2UTQ5OERyaDdQK2JIbHZ1SENvQjNpVkluMmhLK0UxWGs3OU1wcXpr?= =?gb2312?B?RysyeU5Hd1BZaEhpSXRHc0lvWEpoSFRsUVhOVHFUTG8ySWxkRXhCZnRFeDdC?= =?gb2312?B?NUhjN3I3ZTBBUktPdll0bDZWOWt0eWw5RE9NWmt1ODd5QU5ickxPZjViU2px?= =?gb2312?B?UUFQN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JNlBx?= =?gb2312?B?Z3lwSjdzTktEcXFLOG5ZK1pDV3JibXNXOTF4ZW1XbnJkVlFVZ2NodTVWeVda?= =?gb2312?B?NWhsbGtSWHF2M29XaGczc1hKMExjQXFDN1JERjVEeHE2Y1ppSzcySG1Ec2Rx?= =?gb2312?B?bXFQTEtSbzlCaGZRbkJWK2gzZktFMUNkZnhVZGoxSXdldWUzcDFMYm1WcmNi?= =?gb2312?B?L3I0cUZiRDkyY3dRZGkvMEJ2NXk1dGhhL0VycGNHWTlxbUVjY0drUW1OVGZK?= =?gb2312?Q?tyjroofZyur6U=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: 3e9a5191-875e-4fb9-1b38-08d8bad0f118 X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Jan 2021 10:16:23.0819 (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: pp+RvYAR+O0wQWqWweQP6i0h3gRVp+83Lb7b+e0fGPaurvNoZeAUvAWVWeQaUB7E6vroM8ZANj9XXxVhnrre+3IUWIEADP8k2G6aRTHdDMI= X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR11MB2918 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGVsbG8gUGV0ZXIsIExhaQ0KDQpTb3JyeSB0byBkaXN0dXJiIGFnYWluLCBJJ20gc3RpbGwgY29u ZnVzZWQsIHdoZW4gdGhlIENQVSBpcyBvZmZsaW5lLCB3ZSBhY3RpdmUgIGNhbGwgc2V0X2NwdXN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