Received: by 2002:ab2:7903:0:b0:1fb:b500:807b with SMTP id a3csp1041832lqj; Mon, 3 Jun 2024 08:30:52 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVAIhKf4X/2Ym8B8DRTVLUMmyDHA/VnKKTYr6Z3THW3rb4/tudmmCKHsfhxxvcgFE3qkeF0O9ShLHVUGN5hRxbJgct5EHjSYu1XSkjjWA== X-Google-Smtp-Source: AGHT+IHbEyoARsIZ57bRZt3i/HwCiAc2G0JNrzYs0chuVUtIJfwhD5kvQogBP1dNhZAHMBjf4C2a X-Received: by 2002:a05:6a21:32a1:b0:1af:ad46:cd4a with SMTP id adf61e73a8af0-1b26f16ea65mr11792637637.12.1717428651714; Mon, 03 Jun 2024 08:30:51 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717428651; cv=pass; d=google.com; s=arc-20160816; b=QbGYozsqSlpgTNu2vMQ6PIxYnO89OYojP7c2F+ORm5GcNm1NGZCAsQj5hPjY0RqLGb hH4uYoO5ZuDw8gvDjjugepH1oudH57tfupu8VUMs8n5VV9v0GVDLIQEYHBaIBgsJLxqM CYPIz1CskTqo1JDu1rafdC7B6BfJ0dYy2BDTkBHpA+ZBhgmA4CEcUtCi1kZruCeMEOLx UPrxatocm5tPD2hFwdhw9izqDgtdMGk7rFBURMlGG9OXvokdVk27+KHnZsS+am0/PBuW A2039je6SjEqImWUFA/xhGEx2T981XzCcIKAgebtJQ5zFRSvombJvha8i+ACQ7hg/2HX ufrg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:subject:from:cc:to:content-language :user-agent:mime-version:list-unsubscribe:list-subscribe:list-id :precedence:date:message-id; bh=qC9sK3FVDWXLqDwpgv0bKUfmcVe+tpmbSLbN+3Txhes=; fh=a6qs9xY6KFmr/qVb+aNVeoYQ+ouPPPo5Lq+yu5/qyjA=; b=TwCIahUKuLLLc1Dsmk0OmpDFYmoaspLx68BbJkDgNxnIH0UQzjQeoSkrtzFJw3Lup8 Jk05UDrJ1U/s1L+XaTxAszwhgfp6e8BmAGy1rklKuxvqHve0q7XyEXpJBysDGUkJ0DDC 20lGTiTTqJp/G/nU5/CV7OfSlDKWTOHgMSH3kR/libnoYrTARw4cxmQo0ns3PNOSDzQK EFHHLSGY0z34ue0OMCERalX6Frcxm34DQIvpyTUExmaH55XEE8biT8opsTIvbVhMZByN W0X03VOC4rISlrlsl6pnIztBGUsMTnME9j97IdHWE8/a7qCpVJRAPATlitKX4KbL0WFe ohtg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=arm.com dmarc=pass fromdomain=arm.com); spf=pass (google.com: domain of linux-kernel+bounces-199365-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-199365-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id d2e1a72fcca58-70242e640d7si6567431b3a.396.2024.06.03.08.30.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Jun 2024 08:30:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-199365-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=arm.com dmarc=pass fromdomain=arm.com); spf=pass (google.com: domain of linux-kernel+bounces-199365-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-199365-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 23F1C281C73 for ; Mon, 3 Jun 2024 15:30:51 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 73E801304BA; Mon, 3 Jun 2024 15:30:46 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C58EF1EF1A for ; Mon, 3 Jun 2024 15:30:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.140.110.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717428646; cv=none; b=LQoovvryH7HAJuF+5ObcB4/RRClYvGNjfafv7I7tiug/ide5VTPg5xjvTsqK3zDNYhUCrhpNvDTxQfaq/WPNkBNns7cSqhJ9Bxrdx/QTOYG2bnbwAv2Jc4trGmHnA/RMFSbXCgbf+SsEnFKRVvAnW5vL7Q2vV/Nvgrhe0pg5cfQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717428646; c=relaxed/simple; bh=RBLBKM97OJ9PfjLoAidYZRfTjsq8OteewWEsvMvqYP4=; h=Message-ID:Date:MIME-Version:To:Cc:From:Subject:Content-Type; b=dvJi3XjVhQuo5vDybD+6DJ4Et5V3JvY1pCnXLhT1AAQ1vQuOQgouplM8FcJxl/3K4sfhrINWqJBFwGMZWCR+ycwcgQAoFIUDvmT6M5xY1bKAMdjCfo05jDSA/beiwGlqk0zq9uaNutVLK76gtnnC3lY/mVZkJF2W1jxyUJDEWlA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com; spf=pass smtp.mailfrom=arm.com; arc=none smtp.client-ip=217.140.110.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arm.com Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id F41191042; Mon, 3 Jun 2024 08:31:06 -0700 (PDT) Received: from [10.1.30.30] (e127648.arm.com [10.1.30.30]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 3CF7E3F792; Mon, 3 Jun 2024 08:30:41 -0700 (PDT) Message-ID: <5b936388-47df-4050-9229-6617a6c2bba5@arm.com> Date: Mon, 3 Jun 2024 16:30:39 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US To: "linux-kernel@vger.kernel.org" Cc: Daniel Lezcano , Thomas Gleixner , Peter Zijlstra , "Rafael J . Wysocki" , Ingo Molnar , Steven Rostedt , Vincent Guittot From: Christian Loehle Subject: [PATCH] idle: Remove stale RCU comment Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit The call of rcu_idle_enter() from within cpuidle_idle_call() was removed in commit 1098582a0f6c ("sched,idle,rcu: Push rcu_idle deeper into the idle path") which makes the comment out of place. Signed-off-by: Christian Loehle --- kernel/sched/idle.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/kernel/sched/idle.c b/kernel/sched/idle.c index 6135fbe83d68..3cc1a592d9a1 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(); -- 2.34.1