Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1136964pxb; Tue, 26 Oct 2021 03:31:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzEuwjcXXAHHPbc9bbuLJZFbW3+qmdrDcgebFTXwIgH+6c36Z1WiZDinb7+OqC4s3Q/O0WE X-Received: by 2002:a63:2acb:: with SMTP id q194mr18056630pgq.384.1635244318677; Tue, 26 Oct 2021 03:31:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635244318; cv=none; d=google.com; s=arc-20160816; b=oaN8TE3NbiPH9nLFR+lJdT+sIwsUe3XGbeL2hOFnRcnWXaVejrb+IlhOM1AT3asTxz wpUY1kRdyHudzOlVbpVllY7CsHEHMMMd40KD2/6RiR7+qbaAf+RHRcF1jvWxLgCMF+oL ujuJIaG7+YP5XWRCy2PSS1h82ieZ7VyK2v+rAA+KkohitVP/V5fESHWf0OtzFRoDNPtt oxPjscIqDtu1X9vsgI4soe6taIhiIZG2ps+r2RVx6tI0PHatO30ruhi+zLLCwx+0fJOx NYoV9+xxBR3+f3rFle315yX0uIFJzPYNkWW+LwjDh5BAPdkiTEQWuu1KgmDmUuiN4TuD ZhFw== ARC-Message-Signature: i=1; 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; bh=RadUyENWicKcEEzgY1xz+TS9He6aloO1ku8COLEAhlc=; b=xrMeERKvsFScpx9W0e9+HghcRilIJThVhBXOdfq424wV2ljvpObGJhYHpDl6MkcvZs y1e8UwSUggGUZxp8NI7IZEzAey7M0sHBIxPdEZ32WT48DGeypxd6qgbqygG0MQarQWQB U0wGE9i5b9V/vwsnvxvxKf3MnXRVQvqyyvdf4ECr/TD3cfSiPbwYF0uyT7zsfdYfFHam NBPRAR/6EIk1N217ruo/hxTtFMnEZ7fvLin1xLFj6Y7hFw8Xtm/yRzYbxHPEy2WIG7nc hmegKrQhsKWRYBLHzNdmV3u2qJhEjV2Zf596sFphHRdBgtGWHlzVIfWuPZ/aRqeQ8QsT GVAw== ARC-Authentication-Results: i=1; mx.google.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 r187si6326292pgr.134.2021.10.26.03.31.20; Tue, 26 Oct 2021 03:31:58 -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; 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 S233820AbhJZIfO (ORCPT + 99 others); Tue, 26 Oct 2021 04:35:14 -0400 Received: from mx22.baidu.com ([220.181.50.185]:35872 "EHLO baidu.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S234435AbhJZIfM (ORCPT ); Tue, 26 Oct 2021 04:35:12 -0400 Received: from BC-Mail-Ex26.internal.baidu.com (unknown [172.31.51.20]) by Forcepoint Email with ESMTPS id BA0F310589D61CEC0ABC; Tue, 26 Oct 2021 16:32:30 +0800 (CST) Received: from BJHW-MAIL-EX27.internal.baidu.com (10.127.64.42) by BC-Mail-Ex26.internal.baidu.com (172.31.51.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2; Tue, 26 Oct 2021 16:32:30 +0800 Received: from BJHW-MAIL-EX27.internal.baidu.com ([169.254.58.247]) by BJHW-MAIL-EX27.internal.baidu.com ([169.254.58.247]) with mapi id 15.01.2308.014; Tue, 26 Oct 2021 16:32:30 +0800 From: "Cai,Huoqing" To: "rostedt@goodmis.org" CC: Bernard Metzler , Doug Ledford , Jason Gunthorpe , Davidlohr Bueso , "Paul E. McKenney" , Josh Triplett , Mathieu Desnoyers , Lai Jiangshan , Joel Fernandes , "Ingo Molnar" , Daniel Bristot de Oliveira , "linux-rdma@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "rcu@vger.kernel.org" Subject: RE: [PATCH v3 1/6] kthread: Add the helper function kthread_run_on_cpu() Thread-Topic: [PATCH v3 1/6] kthread: Add the helper function kthread_run_on_cpu() Thread-Index: AQHXxvDG6BMxoeagk0Ch2rpac1seKavk+Xww Date: Tue, 26 Oct 2021 08:32:30 +0000 Message-ID: <40fae23eb02c4363bc75649e23f78c1c@baidu.com> References: <20211022025711.3673-1-caihuoqing@baidu.com> <20211022025711.3673-2-caihuoqing@baidu.com> In-Reply-To: <20211022025711.3673-2-caihuoqing@baidu.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.21.146.48] Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGVsbG8sDQpKdXN0IGEgcGluZywgdG8gc2VlIGlmIHRoZXJlIGFyZSBhbnkgbW9yZSBjb21tZW50 cyA6LVANCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogQ2FpLEh1b3Fpbmcg PGNhaWh1b3FpbmdAYmFpZHUuY29tPg0KPiBTZW50OiAyMDIxxOoxMNTCMjLI1SAxMDo1Nw0KPiBT dWJqZWN0OiBbUEFUQ0ggdjMgMS82XSBrdGhyZWFkOiBBZGQgdGhlIGhlbHBlciBmdW5jdGlvbiBr dGhyZWFkX3J1bl9vbl9jcHUoKQ0KPiANCj4gdGhlIGhlbHBlciBmdW5jdGlvbiBrdGhyZWFkX3J1 bl9vbl9jcHUoKSBpbmNsdWRlcw0KPiBrdGhyZWF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