From: Thomas Gleixner <tglx@kernel.org>
To: LKML <linux-kernel@vger.kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>,
"Rafael J. Wysocki" <rafael@kernel.org>,
Frederic Weisbecker <frederic@kernel.org>,
Christian Loehle <christian.loehle@arm.com>
Subject: [patch 1/2] sched/idle: Make default_idle_call() static
Date: Sun, 01 Mar 2026 20:30:45 +0100 [thread overview]
Message-ID: <20260301192915.103886045@kernel.org> (raw)
In-Reply-To: 20260301191959.406218221@kernel.org
Nothing outside of idle.c uses it.
Signed-off-by: Thomas Gleixner <tglx@kernel.org>
---
include/linux/cpuidle.h | 1 -
kernel/sched/idle.c | 2 +-
2 files changed, 1 insertion(+), 2 deletions(-)
--- a/include/linux/cpuidle.h
+++ b/include/linux/cpuidle.h
@@ -267,7 +267,6 @@ static inline void cpuidle_use_deepest_s
/* kernel/sched/idle.c */
extern void sched_idle_set_state(struct cpuidle_state *idle_state);
-extern void default_idle_call(void);
#ifdef CONFIG_ARCH_NEEDS_CPU_IDLE_COUPLED
void cpuidle_coupled_parallel_barrier(struct cpuidle_device *dev, atomic_t *a);
--- a/kernel/sched/idle.c
+++ b/kernel/sched/idle.c
@@ -110,7 +110,7 @@ static inline void cond_tick_broadcast_e
*
* To use when the cpuidle framework cannot be used.
*/
-void __cpuidle default_idle_call(void)
+static void __cpuidle default_idle_call(void)
{
instrumentation_begin();
if (!current_clr_polling_and_test()) {
next prev parent reply other threads:[~2026-03-01 19:30 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-01 19:30 [patch 0/2] sched/idle: Prevent pointless NOHZ transitions in default_idle_call() Thomas Gleixner
2026-03-01 19:30 ` Thomas Gleixner [this message]
2026-03-01 19:30 ` [patch 2/2] sched/idle: Make default_idle_call() NOHZ aware Thomas Gleixner
2026-03-02 6:05 ` K Prateek Nayak
2026-03-02 10:43 ` Frederic Weisbecker
2026-03-02 11:03 ` Christian Loehle
2026-03-02 11:11 ` Frederic Weisbecker
2026-03-02 11:39 ` Christian Loehle
2026-03-04 3:35 ` Qais Yousef
2026-03-02 11:03 ` Christian Loehle
2026-03-02 21:25 ` Rafael J. Wysocki
2026-03-04 3:03 ` Qais Yousef
2026-03-06 21:21 ` Rafael J. Wysocki
2026-03-06 21:31 ` Rafael J. Wysocki
2026-03-07 16:25 ` Rafael J. Wysocki
2026-03-10 3:54 ` Qais Yousef
2026-03-10 9:18 ` Christian Loehle
2026-03-10 15:03 ` Qais Yousef
2026-03-10 15:09 ` Rafael J. Wysocki
2026-03-10 15:14 ` Qais Yousef
2026-03-07 16:12 ` [PATCH v1] sched: idle: Make skipping governor callbacks more consistent Rafael J. Wysocki
2026-03-09 9:13 ` Christian Loehle
2026-03-09 12:26 ` Rafael J. Wysocki
2026-03-10 3:57 ` Qais Yousef
2026-03-09 12:44 ` Aboorva Devarajan
2026-03-10 14:28 ` Frederic Weisbecker
2026-03-02 12:17 ` [patch 2/2] sched/idle: Make default_idle_call() NOHZ aware Peter Zijlstra
2026-03-02 12:19 ` Peter Zijlstra
2026-03-02 21:23 ` Rafael J. Wysocki
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260301192915.103886045@kernel.org \
--to=tglx@kernel.org \
--cc=christian.loehle@arm.com \
--cc=frederic@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=peterz@infradead.org \
--cc=rafael@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.