From patchwork Thu Mar 16 07:47:48 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kazuki Hashimoto X-Patchwork-Id: 70624 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:604a:0:0:0:0:0 with SMTP id j10csp349525wrt; Thu, 16 Mar 2023 01:12:41 -0700 (PDT) X-Google-Smtp-Source: AK7set+JHYBIagzv/XX75zMkQ6yiQ8kfe0k2GEDvALauR8taxlEMlk+LBZJnD00gaTLakD9Fk0tU X-Received: by 2002:a17:902:f1cc:b0:19f:3234:fec5 with SMTP id e12-20020a170902f1cc00b0019f3234fec5mr1928540plc.51.1678954360770; Thu, 16 Mar 2023 01:12:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1678954360; cv=none; d=google.com; s=arc-20160816; b=yEXV9hSP/ocY43/md+Ho7p7sJonlfFiMmBrN7hQNmQK51R45Jw/9eWdTVG/LKYSfPy NLd9t4g6t2j8mlbefUPOVnTnBAXgdyG4sO2B/eoaAZTuIWjtTd1TxSCqxL5FBtHZ3QL7 /jj2UshyzBR0an4Wfp85osHabqQNSr9ZKgr2d0geG5zQfH3ueLp6Rbc1/hre1dp9uaKS fucFggvkDtqRkLayvmXCt4COk3va5EEy+CQCxsN5DlJGZzVMY47gocAYEw6uVgxkRTg5 bWXAUFpLFVd8lgfKeS5oefCqzN2jWrz4fsayEpLU/vKKHcCp+SQG42BFsI4TfKGuEE8I df9g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=oLMa64tOXtUboutgw3wHxnPNOyffSqKsOl76z8VN4uM=; b=C4RvgvW12kzXADUaP6oPr9wqXwt5wYlXhkhbu7jGiugCWNohm4h+LyEzm3jA63HK9M UFxNXtIYDET1kbUZ4iWNZv70X4FJnZxfP9vRt/ZGH4o510nHRMNcwGYMFsgkPagWl48j isSDMEZPF+z2fhn05+GlKgF1rKc2Z1upNafXosha1ZUSn4N6koXN9z4l4ygOg2vnA5P2 mKS4evageP8SBH0vzFiPHTV4/vBgjv3RHcU8F5Va5GDRG0K1FSfYsuSiUXEiDiOzjQ9H r1lN88XHKDqw7vA5+lz5ukugxlK1Zb61M3iSdS3R83e/2UwxjDTkgEoSUYanrTPMiTcA dJrA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="J0ql/N1j"; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o17-20020a170902d4d100b001a17a0e9b73si4147100plg.425.2023.03.16.01.12.28; Thu, 16 Mar 2023 01:12:40 -0700 (PDT) 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; dkim=pass header.i=@gmail.com header.s=20210112 header.b="J0ql/N1j"; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230179AbjCPHtK (ORCPT + 99 others); Thu, 16 Mar 2023 03:49:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43692 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229769AbjCPHtG (ORCPT ); Thu, 16 Mar 2023 03:49:06 -0400 Received: from mail-pf1-x433.google.com (mail-pf1-x433.google.com [IPv6:2607:f8b0:4864:20::433]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F2A11ACB97; Thu, 16 Mar 2023 00:48:58 -0700 (PDT) Received: by mail-pf1-x433.google.com with SMTP id q14so582704pfu.7; Thu, 16 Mar 2023 00:48:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1678952938; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=oLMa64tOXtUboutgw3wHxnPNOyffSqKsOl76z8VN4uM=; b=J0ql/N1jcwlIxs0v4upjzjqWI9WyFNnSNdhb/rr9WNzDVNCb7oNR5OIwrojCrc2eiO 6w3TW5pPhH3qqpsXcnKeTrnpGJ/WTvdbiASknR7wm+FhEt0WuElaQH9Fx5BaLu6oCf4n S/8de6hBBp36SkSyvgl5DFe756pYWcvhJYPaA9p9l8+JMrEqPjlTNjMWTBDV2xvGYEZO 9Fwjd9CGiGmBWNLv85LcdrEt3+h8zQzTOehZDn/iL2GmCw+u1zfikTyPzySvqMKBUnPR a4ZlaKEUYxs0/+rzG2JhsPqOCrdEy9D0aII40aH4XchQyMPYYJy7I3nNuB9R7ftFj6e3 vU/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678952938; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=oLMa64tOXtUboutgw3wHxnPNOyffSqKsOl76z8VN4uM=; b=aG6DCxtl4qT1zwh72eshLWIz9vhFgyjh1T+HQW3guXYDg0dRUG9izUXB0BoLJH0lTA 43T2+D176Ox29gfwZvNdy4cRylEVrCGd1/kGtg2/ULER5BNDS1/BlWftbBEl76YG7flQ 1wBsSphgKCueN7b/b6Qa29kfH9WXwqjlnS9/xNeklJRV+YjqjuudyDIArm5itL4WVbQg el7EUX6j8SVG98NNVdUk7u0ooU9tTHq/BDmDR4GjupCzwLFny7zk6KfTb1bWCWvmnrl2 Dbfm2YQMLLcTxCx3Z0sf4QrKBezrnHX3Yb3H1ArrE5ibgVNfjZO32C5BwzqfK+c1umeY L+aw== X-Gm-Message-State: AO0yUKUBy13hH1M0SDvV/JkNmdmsFU8nwNhMR8dMeyQgvJ4DLjRvPDtS FQTq13Em3tW9gZ0N2BCfn+EjKArRfc/u4Q== X-Received: by 2002:aa7:96b0:0:b0:624:a58a:d28 with SMTP id g16-20020aa796b0000000b00624a58a0d28mr2234103pfk.4.1678952938362; Thu, 16 Mar 2023 00:48:58 -0700 (PDT) Received: from kazuki-mac.lan ([2400:4051:ea3:5910::789]) by smtp.gmail.com with ESMTPSA id 23-20020aa79217000000b005e099d7c30bsm4683618pfo.205.2023.03.16.00.48.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Mar 2023 00:48:58 -0700 (PDT) From: Kazuki H To: linux-pm@vger.kernel.org Cc: Hector Martin , Sven Peter , Kazuki H , "Rafael J. Wysocki" , Daniel Lezcano , Pavel Machek , Len Brown , Ingo Molnar , Peter Zijlstra , Juri Lelli , Vincent Guittot , Dietmar Eggemann , Steven Rostedt , Ben Segall , Mel Gorman , Daniel Bristot de Oliveira , Valentin Schneider , linux-kernel@vger.kernel.org Subject: [PATCH 1/3] sched/idle: Remove stale comments Date: Thu, 16 Mar 2023 16:47:48 +0900 Message-Id: <20230316074750.289025-1-kazukih0205@gmail.com> X-Mailer: git-send-email 2.40.0 MIME-Version: 1.0 X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1760511247395193451?= X-GMAIL-MSGID: =?utf-8?q?1760511247395193451?= rcu_idle_enter/exit() got removed in commit 1098582a0f6c ("sched,idle,rcu: Push rcu_idle deeper into the idle path"), so this comment is outdated. Remove it. Signed-off-by: Kazuki H --- kernel/sched/idle.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/kernel/sched/idle.c b/kernel/sched/idle.c index f26ab2675f7d..dbfc2eb5ccbd 100644 --- a/kernel/sched/idle.c +++ b/kernel/sched/idle.c @@ -179,12 +179,6 @@ static void cpuidle_idle_call(void) return; } - /* - * The RCU framework needs to be told that we are entering an idle - * section, so no more rcu read side critical sections and one more - * step to the grace period - */ - if (cpuidle_not_available(drv, dev)) { tick_nohz_idle_stop_tick();