From patchwork Mon Feb 26 22:24:37 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: tip-bot2 for Thomas Gleixner X-Patchwork-Id: 206962 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp2366194dyb; Mon, 26 Feb 2024 14:27:11 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUbk/QJ2QI7TrIijgvY4P7G+Jqzb0Vp6aRrGbsyrTQb7s+aYD+PdFSMw/Af541D3NTtG1U7G21r/j8AJtcw3On9yIdA5w== X-Google-Smtp-Source: AGHT+IHw2e4TIpeH1v+2pZzwSn+8d+LWN1U01q4BUUCLJEZT3Zhvk4dERlVSnSSKyYE2WKA1P3m7 X-Received: by 2002:a17:903:1109:b0:1dc:63b2:7c2e with SMTP id n9-20020a170903110900b001dc63b27c2emr8191306plh.31.1708986431390; Mon, 26 Feb 2024 14:27:11 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708986431; cv=pass; d=google.com; s=arc-20160816; b=aVHf3JDG0henzOEPV0TVF3gdO8G0gdRukFv40X6GxQyFFkeHhvn1ucE+wS2uBJOFR8 pAwggWdOg/60aITkERS8G33pO5knRJIxezAZ0bVXSfnR66S/TOidEqsEI50sU2U5R19o 9G7Q3H/fFJMoYS4gVjBqMaeavbrpOzWoD2hOTgLjIMv6QACV3crR6OmNVrdC1GVd4e1g gzIBe9RbIDI5bbhQ4b3xGxIXwq6d8O5fqWxz6s9wIcGf1eYSKmhSW5oq9A7rLMXOjkfO pjIYw0sLLZ8V2u66atYDchxoPBxbI529RhXve3ZlTqGoOEwYnktihZTKxqolvXNsdBLe c80Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:precedence:robot-unsubscribe:robot-id :message-id:mime-version:list-unsubscribe:list-subscribe:list-id :precedence:references:in-reply-to:cc:subject:to:reply-to:sender :from:dkim-signature:dkim-signature:date; bh=LiUwnVXiGuVOncjYHgN0ITXe2rAzjGZg8JGvNBNeTNo=; fh=9Ax9dUTktkw7GUAcxhp/hScrn1H6VeDItxi6qdujZxg=; b=EMUb0VIFxzg5rXXWH2y3YPEqRcGYtQ4bqSSmiRmKMQ9hvlzTut4+5l3yUl1AyMYCpA Dy01pwW/1TOrcCV0f+cFsXRwx5/QH8k+p1zyzTtTnb0SK3fM0VLTwSzYidJReR+iv6GW H0TM6Ig09o1g3E6zXR16A8Kt/7LckyYQk7YHAYZbbaJLVYJu/qIXOS6y2IaHupfcsomh Ciy3XpruDOeBpb99gpiIbkaR0nO36l/orw+TPyONzQK7+GYh/KpboOTbQhWQKti4en+V 38ez6408puKTIIsT4ty83ctRwCMkXf53zKZmDxx0Wrt6AEF033hPjTH1dzi9lINC6k9o P8DQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=a+PR6vcY; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-82397-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-82397-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id b6-20020a170902d30600b001db3c0262d3si241052plc.646.2024.02.26.14.27.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Feb 2024 14:27:11 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-82397-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=a+PR6vcY; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-82397-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-82397-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de 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 DD11C2859D8 for ; Mon, 26 Feb 2024 22:27:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 51CB6136648; Mon, 26 Feb 2024 22:24:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="a+PR6vcY"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="f+Hfg/FM" Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (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 EBC2A134CF0; Mon, 26 Feb 2024 22:24:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708986281; cv=none; b=JXQERrBPkiH3tM7WI8WZDl4GfxvBPJue0phFY0SG91qOlKkHnWniJStxgOICibRAgHamwC6SBiLCfJtR8zhCnY0dV13bhKQsjWWZtXedqHk034n2O1OYqUsbvpuJmu+MUyLZM4rMGgNxucUPQzW/+i6T2xaUB1sOY1Ayx2WfeT8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708986281; c=relaxed/simple; bh=nj4FArUzS17fCDnTv2nbz4bnJVfZ6ptHp2GRa8B+Qkk=; h=Date:From:To:Subject:Cc:In-Reply-To:References:MIME-Version: Message-ID:Content-Type; b=UMj6lh15c9XPf5xgq/lwHT7PzhVjQfoZXZL6ciwiAtLfQ9o0qtCPAjwPZ47+I5x1X5KHPk9Q57dG/xXg0DZxPahSbLQivc+V7Ku7bHjbQWw8HQtF17Mys/xwuJHinSOg/zj0L2JnjsE43aNwoJSyqIqYzdwPO1oYtaFniwMcPTE= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=a+PR6vcY; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=f+Hfg/FM; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de Date: Mon, 26 Feb 2024 22:24:37 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1708986278; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=LiUwnVXiGuVOncjYHgN0ITXe2rAzjGZg8JGvNBNeTNo=; b=a+PR6vcYodKyYrqL9fU5Xw2GMJYkUROWaYB5CC4djm+wqMHGZBSP9cNt4Zfyf24c1kq5iy ApCdTRB++rfTOl02e4N/jqkcvndOSC05FgKR7Jy2uD7VLNCBBQpCwPfCrK0UE6lSKyHzC+ fbC8rMPb99KszgonR/iwiddAD4HschykZS0zjI9bcA8NXnRhTwHJGfTQPlzMyjeXKX0Sv2 MkpMsxWuf4cr3I2tlnwVqYbY+pRmgcx2v+NJ9qMOuL64sUjgT4SJSnRDKiHrWNDtuO8wUR bgFNeB6mfsSVIttrzTDfqIZnH3yFGWU6KAcPJ+0FA4e3YSiv/wpJjGM/oXjs9Q== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1708986278; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=LiUwnVXiGuVOncjYHgN0ITXe2rAzjGZg8JGvNBNeTNo=; b=f+Hfg/FM/ieK3tR4EEBS8mxDEqYqPDSBFyiY29RtJhAiYBGnhY2AGJF19SXLDA/3BRLI53 xlusKNXFJx3NnZCA== From: "tip-bot2 for Frederic Weisbecker" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: timers/core] tick/sched: Rename tick_nohz_stop_sched_tick() to tick_nohz_full_stop_tick() Cc: Frederic Weisbecker , Thomas Gleixner , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20240225225508.11587-6-frederic@kernel.org> References: <20240225225508.11587-6-frederic@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <170898627757.398.5059768758723966854.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Precedence: bulk X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1792002156072059360 X-GMAIL-MSGID: 1792002156072059360 The following commit has been merged into the timers/core branch of tip: Commit-ID: 3650f49bfb954119a33613672abe4ca3bbbf6243 Gitweb: https://git.kernel.org/tip/3650f49bfb954119a33613672abe4ca3bbbf6243 Author: Frederic Weisbecker AuthorDate: Sun, 25 Feb 2024 23:54:57 +01:00 Committer: Thomas Gleixner CommitterDate: Mon, 26 Feb 2024 11:37:31 +01:00 tick/sched: Rename tick_nohz_stop_sched_tick() to tick_nohz_full_stop_tick() 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 Signed-off-by: Thomas Gleixner Reviewed-by: Thomas Gleixner Link: https://lore.kernel.org/r/20240225225508.11587-6-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 4e34967..9f75f56 100644 --- a/kernel/time/tick-sched.c +++ b/kernel/time/tick-sched.c @@ -1040,7 +1040,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); @@ -1075,7 +1075,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