From patchwork Wed Sep 27 15:01:29 2023 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: 145636 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:cae8:0:b0:403:3b70:6f57 with SMTP id r8csp2965553vqu; Wed, 27 Sep 2023 16:36:56 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGIo3QgKGW4mcoY1135M5nnZHAfGroEWtbEKmVC400tvpyYcoQvQS4uTJ+ImcI6OJfal+9J X-Received: by 2002:a05:6870:b30e:b0:1ad:2e18:7090 with SMTP id a14-20020a056870b30e00b001ad2e187090mr4086793oao.32.1695857816231; Wed, 27 Sep 2023 16:36:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695857816; cv=none; d=google.com; s=arc-20160816; b=Kfq+r3jzpk08ZF7l1PJUcMbaFAPSVunrdr9TrgRj353TWf64Z/24koUxPdNT2xEF8E HUWk9rmv321JUaqocTDE/Fo8iEDaDApGJTEaeCvFNFfWZ6VOq29gBFkBKovGgVULQSch smxHMTkEA+BX7DvB8n2l2/QGdqd+qJi3UGvUYtcUMgCjI0wt0BaQATFjZlRuxq0g1EqS t9TDMx1mtJBxlnpD07YIPdQDp3WK2jb/ao7SmQCqdzu46voGy4178VggPdoEyteen46l JJJHSfnbUSJSumGaPKiCJSaiv0AOMpgUP7wZL6QYTJVDD2TQsWskNNz7yLO+uVOGLGT/ htpQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:robot-unsubscribe :robot-id:message-id:mime-version:references:in-reply-to:cc:subject :to:reply-to:sender:from:dkim-signature:dkim-signature:date; bh=xmgklms1sORVG0m4r7Iw/uVIkEo/q5qKTO88tbyXacw=; fh=8MErvwdHaVO4pWvFG4gl6g0gUUnZL22jGUydwiyVEtk=; b=vhBGavaOaw635bNSiq2DVVrmUAWuVRTTMmWVDypiYCDu897HUPbPEek+WQI5th9Umn joQJFCkBb9V2C2K8mQ49ytS1MbmiYjfNkg4DmVuvUZWTln/zzI4ECl83N1LfDj81FkjF 930sc3W2gMoi7P3mZjx/uWZTvj79iQlQtZVhAFTAnCzRWD3Rsnx5il7jqVN24kJUaXyW ubKyE1tnB+vcTB2VxckP/4JiknMcznMipUcM2qSC2fZNb3kuvZ54vvqQkYGtPSK6triU JNr9MxohWuf7AYEX3gzLDKdCL138tD26hNs9XM2LsjW3EEVznr+dLXIhH/eNa9JZmH1q Ay9A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=MBqkKIZE; dkim=neutral (no key) header.i=@linutronix.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id w190-20020a6382c7000000b00578b8016c3esi16357068pgd.138.2023.09.27.16.36.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Sep 2023 16:36:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=MBqkKIZE; dkim=neutral (no key) header.i=@linutronix.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 5D227806E1E9; Wed, 27 Sep 2023 08:02:19 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232297AbjI0PBr (ORCPT + 19 others); Wed, 27 Sep 2023 11:01:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50752 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232269AbjI0PBg (ORCPT ); Wed, 27 Sep 2023 11:01:36 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BDDD9F4; Wed, 27 Sep 2023 08:01:33 -0700 (PDT) Date: Wed, 27 Sep 2023 15:01:29 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1695826890; 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=xmgklms1sORVG0m4r7Iw/uVIkEo/q5qKTO88tbyXacw=; b=MBqkKIZE8BznqJ17Vs8uXLDxq39LBwlNsT24VjzKkunXaS7UUkJZ8ILV5TVvEK0j+tX8iP Cw1XjcuY4GbBixpNAEFj2bQ3SelBqMPUCGaKYw9KeR5zeJObxAywHuTVcdCVPzxOnOAdi1 10VFXP1C6RU0ztSTgK9md/zBUKhclv/mp22zRSIdloc/sZnSw9hU2OcU1kE2LXRFRnqdsL GbA28Z8MrElztVIktnyvAy9NI0DUHap2aT37xlrO/APaLGcPAfxlO1sEoA1SRKMw816XwN U4fxJFmSZLPix1CDsZkP6gCnRonTx4LlZr3JRPcyeFzWupGeN+jxXh4tecG+4A== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1695826890; 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=xmgklms1sORVG0m4r7Iw/uVIkEo/q5qKTO88tbyXacw=; b=2MG4+dJqbOyKxOr9vZ5IbFkF3fyQ4MU4wCTcp4UowC2WWZrgKQgH/99LXZXEcmy3TTMj5m fFqC6C4v0EEpLxDg== From: "tip-bot2 for Xueshi Hu" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: timers/core] tick/nohz: Remove unused tick_nohz_idle_stop_tick_protected() Cc: Xueshi Hu , Frederic Weisbecker , Thomas Gleixner , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20230912104406.312185-5-frederic@kernel.org> References: <20230912104406.312185-5-frederic@kernel.org> MIME-Version: 1.0 Message-ID: <169582688984.27769.10942448414199361460.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Wed, 27 Sep 2023 08:02:19 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1778235805814368869 X-GMAIL-MSGID: 1778235805814368869 The following commit has been merged into the timers/core branch of tip: Commit-ID: c02a427f7b64ed5b840a0720a6cee5a17a1e7e07 Gitweb: https://git.kernel.org/tip/c02a427f7b64ed5b840a0720a6cee5a17a1e7e07 Author: Xueshi Hu AuthorDate: Tue, 12 Sep 2023 12:44:05 +02:00 Committer: Thomas Gleixner CommitterDate: Wed, 27 Sep 2023 16:58:11 +02:00 tick/nohz: Remove unused tick_nohz_idle_stop_tick_protected() All the caller has been removed since commit 336f560a8917 ("x86/xen: don't let xen_pv_play_dead() return") Signed-off-by: Xueshi Hu Signed-off-by: Frederic Weisbecker Signed-off-by: Thomas Gleixner Link: https://lore.kernel.org/r/20230912104406.312185-5-frederic@kernel.org --- include/linux/tick.h | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/include/linux/tick.h b/include/linux/tick.h index 9459fef..716d17f 100644 --- a/include/linux/tick.h +++ b/include/linux/tick.h @@ -140,14 +140,6 @@ extern unsigned long tick_nohz_get_idle_calls(void); extern unsigned long tick_nohz_get_idle_calls_cpu(int cpu); extern u64 get_cpu_idle_time_us(int cpu, u64 *last_update_time); extern u64 get_cpu_iowait_time_us(int cpu, u64 *last_update_time); - -static inline void tick_nohz_idle_stop_tick_protected(void) -{ - local_irq_disable(); - tick_nohz_idle_stop_tick(); - local_irq_enable(); -} - #else /* !CONFIG_NO_HZ_COMMON */ #define tick_nohz_enabled (0) static inline int tick_nohz_tick_stopped(void) { return 0; } @@ -170,8 +162,6 @@ static inline ktime_t tick_nohz_get_sleep_length(ktime_t *delta_next) } static inline u64 get_cpu_idle_time_us(int cpu, u64 *unused) { return -1; } static inline u64 get_cpu_iowait_time_us(int cpu, u64 *unused) { return -1; } - -static inline void tick_nohz_idle_stop_tick_protected(void) { } #endif /* !CONFIG_NO_HZ_COMMON */ #ifdef CONFIG_NO_HZ_FULL