Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp1006011rbb; Sun, 25 Feb 2024 14:56:22 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVmWoszXKHsLPp52PP36KY9F5a8mcA3UwWvQaiAK09eDeQelFKwe1gJqSph6lPpkI8qpdCl1dsJWXVkxPvdQyAVqmJBRXwGyBM3a0pJ6w== X-Google-Smtp-Source: AGHT+IEcNidLEIBsAJbCHXvNGRpfvY6XBeG8/0lSX2Qz2Jpabwg3znhUbuWj30W/Gq86igORu76k X-Received: by 2002:a05:6e02:1d8a:b0:363:bde2:152f with SMTP id h10-20020a056e021d8a00b00363bde2152fmr5779593ila.24.1708901782257; Sun, 25 Feb 2024 14:56:22 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708901782; cv=pass; d=google.com; s=arc-20160816; b=zOrTikxWkdR8uo7LZ2nnM+s8ied5dIlYCsHZikf2E3vZuu+cN8iXDlMjkmDktRVFSx UwHJeTlFKOggHbbojmRF79L44wPtCSxQOyniyj5fJGlEYmaOre1eQ0HrHS8YB4Vb8Itz lA+r6de3GaSSh0qqCSQ3zkxpl0aZ2vFjlpJjZAJ+kH9PKpRNO3V73utiUFUYzFVlZnC5 J+rrbIrTff8zGeNbIuQuc/vaLWvtzW1E2M3RjtT5i/S5r4yxx8CH6AV6dhT6z1xcpBbP BmLS9Wtf//PI3BebTxMa2Wwjhtfe4FAFPz1mWCOWE1fPfDOQoCt6hppmC+Au4NwqPtbA BfEQ== 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=s026lBjpy8GRvcAWeAlp3WMFQiXWmm2HHylqzxIoa1A=; fh=9AYDxpIF3ws21qQDvjghHSFUuXpDdpq2Zh/SbnasVRo=; b=zGzN5MtWQwoq3hHjs7PbSC1sUq1UQ4IhDtEY018DlJG9I70AkLtpeSMxnltvvNVHAM XW/zsmR5JBYEpZiIpdRbrgKAXrUzrvH+YYyGnneA7bee4N5JzCos7bpeksSsN+VjYZFt eMbJ/hKbqPhCFsRtx3aXbjLskjFaWQmW177rSe8Sd8S1gMTv81RbgQJRCA1dZKs5kVUb VeFGmW+wi/DQ2/JTlSmkJadsMQy5RBn4cIHmY+qWZ9AqSS3zWpz/zILBhGiL7+2VDUsj efpRHPL3cv17Y0tXaWhjvyFBIWFwlF3Cno7BNcFF9xIwKkMCip4kimMoCVz4ITXnlPB0 VpPQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Rr7isJqi; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-80332-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-80332-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id d9-20020a631d09000000b005e27218564asi2718787pgd.157.2024.02.25.14.56.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 25 Feb 2024 14:56:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-80332-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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Rr7isJqi; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-80332-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-80332-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id EB258281FB9 for ; Sun, 25 Feb 2024 22:56:21 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DF1331EB35; Sun, 25 Feb 2024 22:55:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Rr7isJqi" 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 16DA21CD1A for ; Sun, 25 Feb 2024 22:55:24 +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=1708901725; cv=none; b=VxEPXX6wNl46Neidqc2E0cwufMNgex61j7gLdBTBUEWXGBe7EyPUPrPTczGLAnkDz7mnViKDXogzl09cLXsbb8ybVlu1+OZ1QaXd1RuFYA8kyx2yUuTC7boMox4rvGQWdjF0V8xiJX6kFullJTVLDp3xiWKKBQfMxQRMJxPUocg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708901725; c=relaxed/simple; bh=IamgszwyZ3IggU9+C9+L0AHD8yJxSmoVUB5dySoZ5Bg=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=p4M2D3xpw0j5V+aiE1AMsLBbqdMxGaoHwVgeTjW0ICkl1KxI3tn4Hc6fJSpIiYZsAtKV37D+0pJITbO6hglQOrdpkWdltkPD2nKxlRaWDSAPV9l5yss7J9MZNCCnlLDRT+Yf1U69+j6LvGSOVBS1g7AV+Id+56AhWP6LKNUCLgk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Rr7isJqi; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 24A0AC433F1; Sun, 25 Feb 2024 22:55:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708901724; bh=IamgszwyZ3IggU9+C9+L0AHD8yJxSmoVUB5dySoZ5Bg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Rr7isJqiDhIDuwueOypOg8KMlIwexB8lFBwW6JDcheReDFJIAwiF9oMKhwR3hn5m4 6kjrKILkI8H8+slfeeQgWj3RXKnXHBMup23qMYJ/v7et58hB+WXGPnvGyXVgO3lAfg iVz6jjvFdasMsVUL4YTGL50zhFjP7auQKSNSkg3ny+BirlxSZyWg7iUFANKU+QTGco fPypIq2Cr6Lsiu59j1PXby4azbkRFhQR5QhDACyprCPu6bW98bun6Jbmpty5DBukLv 8fPUUr0qfcTQRUj1GjpgAvTfeOvWPHArfoRtiuDKYhxJGmVdzVJaAcpLiH/lz1Kfbt XnMVKHhbjo+qg== From: Frederic Weisbecker To: LKML Cc: Frederic Weisbecker , Thomas Gleixner , Ingo Molnar , Anna-Maria Behnsen , Peng Liu , Joel Fernandes Subject: [PATCH 05/16] tick: s/tick_nohz_stop_sched_tick/tick_nohz_full_stop_tick Date: Sun, 25 Feb 2024 23:54:57 +0100 Message-ID: <20240225225508.11587-6-frederic@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240225225508.11587-1-frederic@kernel.org> References: <20240225225508.11587-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. Reviewed-by: Thomas Gleixner 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 4e34967edc0d..9f75f5621965 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 -- 2.43.0