Message ID | 20240131231120.12006-6-frederic@kernel.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-47349-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:693c:2685:b0:106:209c:c626 with SMTP id mn5csp89436dyc; Wed, 31 Jan 2024 15:29:14 -0800 (PST) X-Google-Smtp-Source: AGHT+IF5/r7rFOscwQiQg3XbKejZZjo3GPhCxlUK94Eks22oI/UBXE8yeNLFSzSmMdHK4sX+HEWA X-Received: by 2002:ad4:5aa2:0:b0:68c:583d:5425 with SMTP id u2-20020ad45aa2000000b0068c583d5425mr4219437qvg.11.1706743754022; Wed, 31 Jan 2024 15:29:14 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706743754; cv=pass; d=google.com; s=arc-20160816; b=b7H9xpD9cAqbRDXJy2k+ckGrxljfcWOTE8I1sw9Z/mY3sw4MkhwYnUhENjt+k/3J4M mLvaCDMrJNkx+Jq0zLBO6mezdNBVZ70jFZXnGf39a8W9wGk7ZTTG2GTF6FQhLC/c2GgS Rb08mfRMrNJ8MkIYeIzLDXJz+i6R4hvo4EH/91E/8za6Dfx3raPkj4lsneibZFEOxvVw aID0RuX1OooqQN/FA8TTsPlvqkrG4LCtmVs4ykmInbE6AnAA/upF9SFdNYMVuqoO6VQN Y1WTTRznbp2TSdBiuq9gxdgZiDwvdsuC7rrNAm7KVYrrWIc1/DiMJxz0mrmYqNOLuWvY hbEw== 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=pNj47kIyXW1SYNzubx06sDf4tiyhEd43Byh31HssXnI=; fh=UggXvyNdRJA03wu1sx4ieSqm140cS10Rh2PTeHMcAJw=; b=HzV5hpnuY2Znt+fSwzMopqp+awSfeURY1bWbHvQ3ECai5NtITUr9OSHUN4mnBS5unk gZ0Mr7mPR50M8EpFYq0J/ko7ZtFfrXH9paJREtxB+ER3zBZFAmRQFY0meqAgPyXCi5DK t4CSMNisffp8qJ/9ku1VO+T4KnkVb1g+qBrPEi8SOj4oc7w0VW7SHU5RHnN9xCF9dREh b1TVUEYa9HCbtFglKUgizl+Dk0THSr0iy1RANwx9nwz/i5OdZJg69QKcZLVIqyOUVHWC H7aUv0fdwcHtZq9XUu/96CqUIE6aPuahfoYupKEnf3eP4xOwWuhMCm/sTrKY6Hn8djwd o3zA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=gbsKGu5K; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-47349-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-47349-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org X-Forwarded-Encrypted: i=1; AJvYcCX6ejOtWu5Kp8DegR+w2E90YjSohZARybVKyK3+bysjgBMAvhXk8mWS5tk/cLXHqXR0rN3+VhRK/QUJPaA+QTZbuRfHwA== Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id fn13-20020ad45d6d000000b00680b0f40fb4si13642462qvb.206.2024.01.31.15.29.13 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 31 Jan 2024 15:29:14 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-47349-ouuuleilei=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=gbsKGu5K; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-47349-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-47349-ouuuleilei=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 CBF111C247F0 for <ouuuleilei@gmail.com>; Wed, 31 Jan 2024 23:29:13 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1EC964BAB6; Wed, 31 Jan 2024 23:11:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="gbsKGu5K" 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 75E9F4A992 for <linux-kernel@vger.kernel.org>; Wed, 31 Jan 2024 23:11:37 +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=1706742697; cv=none; b=KG8bxaSCM1FA0fhX2WyN2CphNwwIq42l7YMnTEmuJ+BKYtYkg9MSktqEJ6tcf7U4UM3vs7MyjN1rar0Q6BmBJicVO/bg7bSkSiN78mkIbvH0oPMytnjsIhKIYLewCjr/ZR4No+yG+bDNfr047+Cp5TWIz4iwe2ccl4Je8oKEYNE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706742697; c=relaxed/simple; bh=DNVESk4JIRTsWnUA2aWEEPPDA9xQmhtXj6gZKFnVhtk=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=Vq8BMrSLFQkx1fZ3cu/qsSPI1ZZxW5cw2pG1zW/Mv0SPgjbgcGTP3ac69oyEjT4FcIAq9W+SUFA19NEfZW4Rz4meO4UTuzVQy2Scl1h9HJxiz2/lqxtx868/l24VXbNsDxxbhVxaxI/IxX/jO7CCIl4XrZEVe3QraideXHA8xj4= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=gbsKGu5K; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9DDDAC433F1; Wed, 31 Jan 2024 23:11:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1706742697; bh=DNVESk4JIRTsWnUA2aWEEPPDA9xQmhtXj6gZKFnVhtk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=gbsKGu5K9ARWebN1/wgqhx3Hax4JJH7izJQs//Hwto3c1/HHCv0aLnZ8162+bZQ3+ RF0yyAuOeYzTu3E18vifIj2SnzSk1CDYnljj3qYvoPEfA2kAwAdzkg/mIV3OdTsW8V FAZ9R+6cMeFJrJNGkeczff7FEn32rkVytbk60Z1c58buVh5zvo2pTR7FRfJ9BDMeQo 1fbifoNBrHmnyKC9Os57r1uaZJ8aKcrEfG9NHxKeG0tcVhZCEMSm1Dy8NhGO1JI2wc RLnbP7SsWTjG4HX3WOalwaDMQ0bW9RRtv4E7BKl1RQS4wbiJsT51lo0xDkuVrHnURL PfFdHveSF5s+A== From: Frederic Weisbecker <frederic@kernel.org> To: LKML <linux-kernel@vger.kernel.org> Cc: Frederic Weisbecker <frederic@kernel.org>, Thomas Gleixner <tglx@linutronix.de>, Ingo Molnar <mingo@kernel.org>, Anna-Maria Behnsen <anna-maria@linutronix.de>, Peng Liu <liupeng17@lenovo.com>, Joel Fernandes <joel@joelfernandes.org> Subject: [PATCH 05/15] tick: s/tick_nohz_stop_sched_tick/tick_nohz_full_stop_tick Date: Thu, 1 Feb 2024 00:11:10 +0100 Message-ID: <20240131231120.12006-6-frederic@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240131231120.12006-1-frederic@kernel.org> References: <20240131231120.12006-1-frederic@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1789650538767969888 X-GMAIL-MSGID: 1789650538767969888 |
Series |
timers/nohz cleanups and hotplug reorganization
|
|
Commit Message
Frederic Weisbecker
Jan. 31, 2024, 11:11 p.m. UTC
tick_nohz_stop_sched_tick() is only about nohz_full and not about dynticks-idle. Reflect that in the function name to avoid confusion. Reviewed-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Frederic Weisbecker <frederic@kernel.org> --- 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 c4bf796a3285..1fd7319b58b3 100644 --- a/kernel/time/tick-sched.c +++ b/kernel/time/tick-sched.c @@ -997,7 +997,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); @@ -1032,7 +1032,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