Received: by 2002:a05:7412:5112:b0:fa:6e18:a558 with SMTP id fm18csp1249909rdb; Wed, 24 Jan 2024 09:07:10 -0800 (PST) X-Google-Smtp-Source: AGHT+IHf3+iFb9jswkmvZoti6GS4E951GtaibU018bwFkL1x/ALue8ljUd33PaBJ2kY9+6fwbtEv X-Received: by 2002:a05:6358:3a14:b0:176:4c29:57fe with SMTP id g20-20020a0563583a1400b001764c2957femr2957981rwe.5.1706116029648; Wed, 24 Jan 2024 09:07:09 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706116029; cv=pass; d=google.com; s=arc-20160816; b=Y+GfKbhdtF508ArZ6MXZ9dbpdEVNXb/2yWZA9q1udFJAkb/2GfLB6l2OxS8SQjo4/H CsDurMi2fz3BsV9dyO42Z+Nf6OROFTAo7+GusCPV3J5eDET3v17yTGv1ldmNPHYsusAq VJMcNJoh4H3gUH0JS6ZKGs9GhPuG1SoTrvycLBFITDmDzu5EPHf0oaitDuUJGTk8xYJE 8pLfZcskVO0+hPnRPGFnIPQ6cwpCKz15iibiKkkaUDi5ltt7BYwy5NNHyIH26GJ9EjLM F//7N90zJ0wqF3XAZkMOI6WyPo7iKDDN1fYuetLkU1yG3zcdEThDpv5eRGp4SS9GRfCl k07Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=66hwNqqhUPtWR3HSUIYD1dXJyrJ5q2XEHwrvMKcC+E8=; fh=9AYDxpIF3ws21qQDvjghHSFUuXpDdpq2Zh/SbnasVRo=; b=Wlakj5cMEQmyryxLG9IdUkI8vQpzNeSq/QrsxYz5/s6KV0d/0sPqNJA8UEU2sh0Z8B eAro5jAYhfW1yyk5RMDZG9Siqz+HM7vwa/5EEJaL6se2Tkyee2BnroHBmXNAoYbgGbjF VKfyWI4dc/lxRDmxWDs2cYXELU0i9kGQUwMuzg9X9VahuB4WzvGsEwXXCbE6gB+qr2yv 5DpujEpsEO7btsxxUOKWa1jPS3Ad2vXZK0HpT6myHSUvAnoZSjvHPzrexoDsyxYlkDKv HTz80b2dsxVjlloclPzCHhWbgOoyRpTepFG5UDo5IIgpWgn3tN+aslZdCg76wrOzguT5 UAcA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=qIz2KY1g; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-37384-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-37384-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id m30-20020ac5cade000000b004bd61f9e175si41434vkl.99.2024.01.24.09.07.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Jan 2024 09:07:09 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-37384-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=qIz2KY1g; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-37384-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-37384-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 14E251C23CEA for ; Wed, 24 Jan 2024 17:06:35 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 09E1186136; Wed, 24 Jan 2024 17:05:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="qIz2KY1g" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3A8B58612A for ; Wed, 24 Jan 2024 17:05:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706115922; cv=none; b=bCIx9Cq2y2Kxzw7g98fnVevu355T6PhPACp7pkioX3YLNSYu6T74fHlp+YoZG5ssPWPrZ4JsQUDhdLTyXicQhe3PS4RPaWIyKTSaOOduKYjWkiBuT1+rN580EjPbc9hV58P6gDTvUHs/4H0XQF3DOw1x5nTLkKwWKqAQ0OiQHRc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706115922; c=relaxed/simple; bh=0LrXhB2ixhZpFzsE9HHdFubiObIt2PX57sKxj0n5aZI=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=bFnqp3qjthDqeUS52Gj5EdwGQbVw+QvtE0qej3ENbN+G6iUixKKx0eLB1DPCpAFGVAdMkiTXNyxZbXQyGZaI6r5/Ze55X1GYSsASqEVoR0KMX9NS+yUtqow/VlnGqsioftuq4z4fD2Aye+DHKsCb4FBqJJka3gcuaijBfPKSJNw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=qIz2KY1g; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id F3A0CC433F1; Wed, 24 Jan 2024 17:05:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1706115921; bh=0LrXhB2ixhZpFzsE9HHdFubiObIt2PX57sKxj0n5aZI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=qIz2KY1gZDEGMSGD7zEtFfKm94op/OWJg68D5tTMsPTovhjhswFAsd1eMM2gEqXUg vG+2GMOtOUU0ZCGH3cU2W84E3pvQfPZM+affknLuf8UYMlkLk+hyxDS+Obi+tZ4q9c V+xgwTPOS1Z0QUZMaO6qwUZoqG1BWdQSr9JAU7bdsk4Th1ya4sgBfB05UuCcW2GkOH YPDL/aNftJ3PPbE/jp/UjzKqUfupXVSspRj9Dg0neer946GgN9BltG1J2TbeRiIBe/ gKOQNl6ofysUJIoqB9YLW6y/NYFOccznSrfEw7ayKD343vfU6cwfsvVJ2jh+QdQTfK LT1AjCs2vg3hQ== From: Frederic Weisbecker To: LKML Cc: Frederic Weisbecker , Thomas Gleixner , Ingo Molnar , Anna-Maria Behnsen , Peng Liu , Joel Fernandes Subject: [PATCH 05/15] tick: s/tick_nohz_stop_sched_tick/tick_nohz_full_stop_tick Date: Wed, 24 Jan 2024 18:04:49 +0100 Message-ID: <20240124170459.24850-6-frederic@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240124170459.24850-1-frederic@kernel.org> References: <20240124170459.24850-1-frederic@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit tick_nohz_stop_sched_tick() is only about nohz_full and not about dynticks-idle. Reflect that in the function name to avoid confusion. Signed-off-by: Frederic Weisbecker --- kernel/time/tick-sched.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/time/tick-sched.c b/kernel/time/tick-sched.c index c311b7388685..4089bd274d8e 100644 --- a/kernel/time/tick-sched.c +++ b/kernel/time/tick-sched.c @@ -998,7 +998,7 @@ static void tick_nohz_retain_tick(struct tick_sched *ts) } #ifdef CONFIG_NO_HZ_FULL -static void tick_nohz_stop_sched_tick(struct tick_sched *ts, int cpu) +static void tick_nohz_full_stop_tick(struct tick_sched *ts, int cpu) { if (tick_nohz_next_event(ts, cpu)) tick_nohz_stop_tick(ts, cpu); @@ -1033,7 +1033,7 @@ static void __tick_nohz_full_update_tick(struct tick_sched *ts, int cpu = smp_processor_id(); if (can_stop_full_tick(cpu, ts)) - tick_nohz_stop_sched_tick(ts, cpu); + tick_nohz_full_stop_tick(ts, cpu); else if (ts->tick_stopped) tick_nohz_restart_sched_tick(ts, now); #endif -- 2.43.0