Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp4457741rwb; Tue, 17 Jan 2023 00:45:49 -0800 (PST) X-Google-Smtp-Source: AMrXdXsFW1453n4uF3DtQOuhWQiPvR9makqLCZt/P7idI5wBPSw11dsOwUneBxr9xIEtjoZ0qU2f X-Received: by 2002:a05:6a20:1387:b0:b2:4327:fa6c with SMTP id w7-20020a056a20138700b000b24327fa6cmr2996025pzh.18.1673945149687; Tue, 17 Jan 2023 00:45:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673945149; cv=none; d=google.com; s=arc-20160816; b=oiYiTl9JQ6Xusu02g0OO83dj9BKjP/ugeS7aXkXs+r7jMjWEPOQD7mJwNKOeD12sLB wodxdSdt0Rvjscb7XaCQfvCQovCwQZ3Dhf2rbg7pHza8OrCQy3A9jf0/QUwUOk4BjryM jzt6NzYBAp8wpFzVHNzYZ/f5ayxybRoH7rgfn5UbIkdGRhtOl/b11bfdNfI/2M/6J0kK LYz9CAKrqhw2S44qyq8f+PErribPgZ8LteDNH9aHnyipr9UGqz1lNY7NeqRWkyEw8gZ5 A/Zq1Z6UPC40Tc27BOobPXzSeVA0Vgkd1qbXm7AsiswiTE8XXfTBUH+eDB5Lb+KAypCk iDwQ== 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-id:content-language:accept-language:in-reply-to:message-id :date:thread-index:thread-topic:subject:cc:to:from; bh=BwjF6MwFWy2qtYcTWsW5WefU8Ybauxzrb49BJ45Ur4c=; b=Ugmm+JSJ3CxsfbfGlkoL7NFqWtSQjIa1WPQcmtqdlVZRocAixjFiuhokWANTknRfNP 5hwKxKi9iwCrtk5t4v2UBcU8btbpUl9sLAHpq3oi7sNCq0eTbVroEdQUQyNW8vprtiPz bmKpuk7AKwed68i/ZVu0nMJDUj5DyofFTmFTi2vmNe59GTKP2Sl/AiAZ4dJmB11UbBxD W/RAFOHNgb6PyuQrCMR358GZb28owhaWTZ0+Y4DYW4B4nkP60ewh2qZ3ufzM+h6WTZOs 7it0ve5Bl0idNIj5ozUqDEobTj3IvevOxturnsHfjvnK3afopStwoxyVKUWkGaWAXd2q GMRw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i4-20020a63b304000000b0046ebb90e5bdsi32779631pgf.337.2023.01.17.00.45.43; Tue, 17 Jan 2023 00:45:49 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236158AbjAQIeI (ORCPT + 49 others); Tue, 17 Jan 2023 03:34:08 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44096 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236138AbjAQIeB (ORCPT ); Tue, 17 Jan 2023 03:34:01 -0500 Received: from mx6.didiglobal.com (mx6.didiglobal.com [111.202.70.123]) by lindbergh.monkeyblade.net (Postfix) with SMTP id 621AE14E94 for ; Tue, 17 Jan 2023 00:34:00 -0800 (PST) Received: from mail.didiglobal.com (unknown [10.79.65.11]) by mx6.didiglobal.com (Maildata Gateway V2.8) with ESMTPS id 58CF0110028E41; Tue, 17 Jan 2023 16:33:57 +0800 (CST) Received: from ZJY02-ACTMBX-02.didichuxing.com (10.79.65.12) by ZJY02-ACTMBX-01.didichuxing.com (10.79.65.11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.34; Tue, 17 Jan 2023 16:33:57 +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; Tue, 17 Jan 2023 16:33:57 +0800 X-MD-Sfrom: tiozhang@didiglobal.com X-MD-SrcIP: 10.79.65.11 From: =?utf-8?B?5byg5YWD54CaIFRpbyBaaGFuZw==?= To: Chen Yu CC: Peter Zijlstra , Vincent Guittot , Ingo Molnar , Juri Lelli , Petr Mladek , LKML , Yuanhan Zhang , "zwp10758@gmail.com" , "zyhtheonly@yeah.net" Subject: Re: [PATCH] sched: print parent comm in sched_show_task() Thread-Topic: [PATCH] sched: print parent comm in sched_show_task() Thread-Index: AQHZJz1mO9FzOB49PE+qeMvW7VhPHK6gRIOAgAIJ4gA= Date: Tue, 17 Jan 2023 08:33:56 +0000 Message-ID: <37FFCAF0-B0BA-48BD-B688-B1C5E7A10A1A@didiglobal.com> In-Reply-To: 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: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGkgQ2hlbiwNClRoYW5rcyBmb3IgeW91ciByZXBseSEgSSBpbXBsZW1lbnQgdGhpcyBhY2NvcmRp bmcgdG8gUGV0cidzIHN1Z2dlc3Rpb24gaGVyZToNCg0KPiBBIHNvbHV0aW9uIHdvdWxkIGJlIH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