Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp2169984pxb; Mon, 11 Jan 2021 02:52:07 -0800 (PST) X-Google-Smtp-Source: ABdhPJx9u+PWkQ1+WB/PjPenSJb8861MyO9/MNmjVsN3eSaXFiqlIR0pciwCNfE9F3L85yaQs5GR X-Received: by 2002:a50:b223:: with SMTP id o32mr13788306edd.79.1610362326876; Mon, 11 Jan 2021 02:52:06 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1610362326; cv=pass; d=google.com; s=arc-20160816; b=ukffY0nDTgzjA0HFe20IKyjdX8Fk6XfOw6PJUtHfTO0z5oRgPQoFbwd5SrEso4T6XV /Z8VSiRQ4Cp7cMqLHY8esXXdLAkMvvpZBGHFla0HVxebhZZwFsyXBuyzgyvXX0n0Zc9Q 9HaSG55E365LhCIvQrMt0AA3BiBzzwil/Mp7du6KvZVjtT4mL4RfzICT2Qid+oHp8Y6c Ivk+uZOQZ9fZqO560iBCMUOwDgehSXJP8kftMhCviegp2LGqaFo7C2zDu6gLhImxBNmp 2fvEVZoI3yPcyrAolbs+AYvwOKLv+ijjoznsgJjgC1U3OLB3lguVyjuUjz2+fhE2ftMy 9sfQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from :dkim-signature; bh=Hib1AXVRh3gBGFJDHRQUpbYAUGsYHa/OB3EAtajoWyo=; b=FGmnHmkfB6hZfq+fcbmiNhNH0vK5B/7FvwJYbT6+Nn7fJsmzSpmOZwl9G6ew9A0VpZ MpzyVqJhibW34m2c/M5AOKyAOFfTkH0l36gRQVi6LSB1Oy7YhvaoYuQz2yltGiiYIryo 1dWZPFTbsGQmJcs3iKd/SZ+3IqB9Qo24i1SubMDbw7FhN6KreaBrwM80wGTXuszkre8u ffL9vrfXtxidYK6uAgVR/p8blOa5z0M3wriQJljBLx9dzUZ2uc/znhIBODMsXebg9hBm GTXAG7QPmOyuxo5fYbYDhONWk3qFiy07TXi5WRxZUFkKOB/hSRlTfslgt0ThZUzMfPFX +TxA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@windriversystems.onmicrosoft.com header.s=selector2-windriversystems-onmicrosoft-com header.b=JsXv05CZ; 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 u19si6308929ejj.601.2021.01.11.02.51.43; Mon, 11 Jan 2021 02:52:06 -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=JsXv05CZ; 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 S1729255AbhAKKtf (ORCPT + 99 others); Mon, 11 Jan 2021 05:49:35 -0500 Received: from mail-dm6nam10on2078.outbound.protection.outlook.com ([40.107.93.78]:27969 "EHLO NAM10-DM6-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728725AbhAKKte (ORCPT ); Mon, 11 Jan 2021 05:49:34 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=chLv4pAIq41seZ25SI3y7B8VefdMzJS6eOkKPDF5IBcr7bW4W5RdxcqSfZFYOck/R5fG+6m87pJkSxh8jY1qOs9WC0nzG+VmuveOTdx0JujbvJ8NwahB8jol4AWzI7ZUdhX+7Li7JSsI2Q1OkVeWC5dHx35Vu0EVgJAtMMA6gM6TqwqUMl/lk2w2+pwr9a9uKOOAmhsjkBj8dIQj14RVsIMWqZm46k3T+uBw/mlQk3biIIW3LKaSbhffb43XOUDp0JIclidNnqHTAIPH2JX9Hn9jDu4tLmxBYfKQUo35aqq22mm8cIGIwvaquOlsRg8sAAmOcXmf+6GEgox8I57L5g== 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=Hib1AXVRh3gBGFJDHRQUpbYAUGsYHa/OB3EAtajoWyo=; b=KKKhZKrF/Z0s4pXUIWVLD8Y9mVKEQYFgrMEAds6lW7bRtfxgQhgJ3C+NptUwP0+CoU1JQ++0no/efxkcCD2Z6C3OnBd5GhYZoCTeYgQbmtqVWGmMIwn0NMZcnIn9G8JTyA9LWOPo+uBBmm4uRwjQ+m008R3NJfUIvAaayBJV3f5+SwRcc+yAUaLHWpuSulVsOIFsYkRnXwyYmdsbKA9UIF3/TBlnvOiv4J+DOJpT/1SUBp4MeptJfIYTrm+6dHzVjanRl+3IBll39N2eX2uy1t5ONB7edKGv/POdnF46cNyy03+kegU+91wQY25qmZ5aiDtcO6BkmHtQAg19U9PuYA== 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=Hib1AXVRh3gBGFJDHRQUpbYAUGsYHa/OB3EAtajoWyo=; b=JsXv05CZODRwQ/ajo9czWQY18ZkYjopvwAm3frPXIiU+ZMR/63B/dmhG+Cy9Z+/rzvMpAupJUPRJtBueAdwYca0vWPtVYpayd2yWOBnBuVEHFwoXqrMBjZXX3JoyVJbKMhmuCq7Xzo8LecDtWQ9LaZkD/fGGGPTG0gOgH1HDSzE= Authentication-Results: brauner.io; dkim=none (message not signed) header.d=none;brauner.io; dmarc=none action=none header.from=windriver.com; Received: from BY5PR11MB4241.namprd11.prod.outlook.com (2603:10b6:a03:1ca::13) by BYAPR11MB3304.namprd11.prod.outlook.com (2603:10b6:a03:7a::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3742.6; Mon, 11 Jan 2021 10:48:20 +0000 Received: from BY5PR11MB4241.namprd11.prod.outlook.com ([fe80::89db:d2c3:7a57:75a6]) by BY5PR11MB4241.namprd11.prod.outlook.com ([fe80::89db:d2c3:7a57:75a6%2]) with mapi id 15.20.3742.012; Mon, 11 Jan 2021 10:48:20 +0000 From: yanfei.xu@windriver.com To: christian@brauner.io Cc: linux-kernel@vger.kernel.org Subject: [PATCH] kthread: remove comments about old _do_fork() helper Date: Mon, 11 Jan 2021 18:48:07 +0800 Message-Id: <20210111104807.18022-1-yanfei.xu@windriver.com> X-Mailer: git-send-email 2.18.2 Content-Type: text/plain X-Originating-IP: [60.247.85.82] X-ClientProxiedBy: HK2PR03CA0045.apcprd03.prod.outlook.com (2603:1096:202:17::15) To BY5PR11MB4241.namprd11.prod.outlook.com (2603:10b6:a03:1ca::13) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from pek-lpggp1.wrs.com (60.247.85.82) by HK2PR03CA0045.apcprd03.prod.outlook.com (2603:1096:202:17::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3763.2 via Frontend Transport; Mon, 11 Jan 2021 10:48:18 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: dc1d2521-ee78-430f-5206-08d8b61e690e X-MS-TrafficTypeDiagnostic: BYAPR11MB3304: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:3631; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: L8GjFNWI5FCmyKdnqGrMjt/gLDlC8n1Av/t68+DWD1Fwc97UWFMNKR3AZ3/yISMRee9qaTKyhKpQIJaFQIJ1QHExUpufObMv806n8mEkRA21+/uEbuPgz9AJhDO9yiBx2TSS7kQ/gK20iznRZK7eDrVY50uJrJrpRqEamIQcTKPqBq4RWTzOmOd62TZ2xf0gHImP0/y3fFWFmceMBKVmywlEtqmSQ4saQLYDeu40uq3wfP0BbZ0Jcm2lwFgyav2053RueaVrGvMh3Nrjf14Yj7GFz9YiDo4RaPNZ0qVzYvJzM7E64gKpHT7hWqGNU/hgwkqmzlt5mj47oKL/WwhaWVUU2unKs6VLjr/FcG4f6gQRBPn3ArJDJrUrRVZqclOVg7B0rloX/znCZ/k6iY1SdA== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BY5PR11MB4241.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(376002)(136003)(366004)(346002)(39840400004)(396003)(4326008)(186003)(478600001)(316002)(5660300002)(9686003)(16526019)(6512007)(6916009)(26005)(6486002)(83380400001)(2616005)(8676002)(36756003)(86362001)(6666004)(6506007)(2906002)(66946007)(66476007)(52116002)(956004)(1076003)(66556008)(8936002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData: =?us-ascii?Q?YvotMFWoJuZ8s2d1CT96MXYMf+bN+35DaRdkKKJJC8egj0A4HxuScuCYPpbt?= =?us-ascii?Q?bqa7zWJ9f1oe22oiioDW1JcjAKIzcYF3FuliagLhlTfZeJI0Azfo1wy//+AJ?= =?us-ascii?Q?qLSOOZ8ZhI9rjHXa5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ver.com X-MS-Exchange-CrossTenant-AuthSource: BY5PR11MB4241.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Jan 2021 10:48:20.0025 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 8ddb2873-a1ad-4a18-ae4e-4644631433be X-MS-Exchange-CrossTenant-Network-Message-Id: dc1d2521-ee78-430f-5206-08d8b61e690e X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: z9xw5HgHWecku6HmXVvsv/Pb+0mxSh1geYbSiDKjitZhSVp0nv/IFd4OkpXvhqgTWxb0q76vJ2uQoKW7pO3JmQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR11MB3304 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Yanfei Xu The old _do_fork() helper has been removed in favor of kernel_clone(). Here correct some comments which still contain _do_fork() Signed-off-by: Yanfei Xu --- include/trace/events/sched.h | 2 +- kernel/kthread.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/trace/events/sched.h b/include/trace/events/sched.h index 5039af667645..cbe3e152d24c 100644 --- a/include/trace/events/sched.h +++ b/include/trace/events/sched.h @@ -366,7 +366,7 @@ TRACE_EVENT(sched_process_wait, ); /* - * Tracepoint for do_fork: + * Tracepoint for kernel_clone: */ TRACE_EVENT(sched_process_fork, diff --git a/kernel/kthread.c b/kernel/kthread.c index a5eceecd4513..fb9c3dcbb68d 100644 --- a/kernel/kthread.c +++ b/kernel/kthread.c @@ -294,7 +294,7 @@ static int kthread(void *_create) do_exit(ret); } -/* called from do_fork() to get node information for about to be created task */ +/* called from kernel_clone() to get node information for about to be created task */ int tsk_fork_get_node(struct task_struct *tsk) { #ifdef CONFIG_NUMA -- 2.18.2