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 3B3B1C05027 for ; Thu, 9 Feb 2023 09:45:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229770AbjBIJp0 (ORCPT ); Thu, 9 Feb 2023 04:45:26 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47436 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229468AbjBIJpY (ORCPT ); Thu, 9 Feb 2023 04:45:24 -0500 Received: from mx5.didiglobal.com (mx5.didiglobal.com [111.202.70.122]) by lindbergh.monkeyblade.net (Postfix) with SMTP id D270547402 for ; Thu, 9 Feb 2023 01:45:19 -0800 (PST) Received: from mail.didiglobal.com (unknown [10.79.64.12]) by mx5.didiglobal.com (Maildata Gateway V2.8) with ESMTPS id 4583FB004A417; Thu, 9 Feb 2023 17:45:16 +0800 (CST) Received: from ZJY02-ACTMBX-02.didichuxing.com (10.79.65.12) by ZJY01-ACTMBX-02.didichuxing.com (10.79.64.12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.34; Thu, 9 Feb 2023 17:45:15 +0800 Received: from ZJY02-ACTMBX-02.didichuxing.com ([fe80::9d2c:14fe:d2f1:2a37]) by ZJY02-ACTMBX-02.didichuxing.com ([fe80::9d2c:14fe:d2f1:2a37%4]) with mapi id 15.01.2375.034; Thu, 9 Feb 2023 17:45:15 +0800 X-MD-Sfrom: tiozhang@didiglobal.com X-MD-SrcIP: 10.79.64.12 From: =?utf-8?B?5byg5YWD54CaIFRpbyBaaGFuZw==?= To: "pmladek@suse.com" , "yu.c.chen@intel.com" CC: "juri.lelli@redhat.com" , "mingo@redhat.com" , "peterz@infradead.org" , "vincent.guittot@linaro.org" , "linux-kernel@vger.kernel.org" , "zyhtheonly@gmail.com" , "zwp10758@gmail.com" , "zyhtheonly@yeah.net" Subject: Re: [PATCH v2 2/2] sched: print parent comm in sched_show_task() Thread-Topic: [PATCH v2 2/2] sched: print parent comm in sched_show_task() Thread-Index: AQHZNUt+nHl/SPF+iku9su+1GqO3Y67Ga9WA Date: Thu, 9 Feb 2023 09:45:15 +0000 Message-ID: <183C235F-2FD9-4BAB-B652-1242BE7F9DF4@didiglobal.com> In-Reply-To: <20230131080911.GA1601@didi-ThinkCentre-M930t-N000> Accept-Language: zh-CN, en-US Content-Language: zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.79.64.101] Content-Type: text/plain; charset="utf-8" Content-ID: <879E760540914349B89A6D4B921D7CBC@didichuxing.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGkgQ2hlbiBhbmQgc2NoZWQgbWFpbnRhaW5lcnMsDQoNCkhvcGUgeW91IGFyZSBkb2luZyB3ZWxs IQ0KUGxlYXNlIGhlbHAgcmV2aWV3IHRoaXMgdmVyc2lvbiBhbmQgbGV0IG1lIGtub3cgaWYgdGhl cmUgYXJlIGFueSBmb2xsb3dpbmcgc3VnZ2VzdGlvbnMuDQoNClRoYW5rcywgIA0KDQrvu7/lnKgg MjAyMy8xLzMxIOS4i+WNiDQ6MTDvvIzigJzlvKDlhYPngJogVGlvIFpoYW5n4oCdPHRpb3poYW5n QGRpZGlnbG9iYWwuY29tIDxtYWlsdG86dGlvemhhbmdAZGlkaWdsb2JhbC5jb20+PiDlhpnlhaU6 DQoNCg0KS25vd2luZyB3aG8gdGhlIHBhcmVudCBpcyBtaWdodCBiZSB1c2VmdWwgZm9yIGRlYnVn Z2luZy4NCkZvciBleGFtcGxlLCB3ZSBjYW4gc29tZXRpbWVzIHJlc29sdmUga2VybmVsIGh1bmcg dGFza3MgYnkgc3Rvc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