From nobody Mon Jun 8 05:26:23 2026 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 EE993356757; Tue, 2 Jun 2026 19:30:13 +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=1780428618; cv=none; b=UjLsLwmCR9PG6XyHIQA+Hf/EefZLGI5Oe9DWISYvV0y1J10Gm0lemRiek26B4g+rs37nGirJf+MsM/4nNuUdCyBlljKhzao53ZNfh7I5sk8Do5+k60MaeU8odhty96ZaUrx9bWJDdAtakyhVc4wwH55MwvXly22J+vmFToS78Qc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780428618; c=relaxed/simple; bh=H4Tpf0Ni6wWy1f7qHt+oAZyMnQZG1wlbWQYVw7Ywf60=; h=Date:From:To:Subject:Cc:In-Reply-To:References:MIME-Version: Message-ID:Content-Type; b=NfsNDw92rPQvx17pi6bRbH/i3wr5iEMhpkkFav8xNZXi7sJCt7c1gRJTOtLJgbF1Sx6pJmj3a5Udh9T4KvpCz74fovycr+YPyZjGu7Yw3VwdrNn4MVatwt2vhGaYF/IpVkFN+0JvN6LJ3PDr8CUuvXcWKp1D4PWKorPvH9V9rpw= 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=04GP872b; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=fr/Ko6wN; 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="04GP872b"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="fr/Ko6wN" Date: Tue, 02 Jun 2026 19:30:10 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1780428612; 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=X8vwh2QQayNrVvxNfmaK3MO89NLq/s+hP5fyvtBRN0s=; b=04GP872bhH1U3wNA1bh2s1Fxd4qwvgjyTFkuPIfStQmXq0ELYO8cigmEKggm2sqTghy1Y7 mMceqHrEL5rm0JZ9NJDOZbW9mI3QreyZaxOv512AKlbNF1b0NcIyO0VzYtHMAnlPcV07C/ W+Wy1bYBqzuW0T8viCIUb66FEFPUHUCHueSW77GvrPSnGQVn3wmLHYcoCUFJGBB1lTZkHS n1q5+rLOXmhzbP4TnhcMKdLjdwngm+SJiVCLejG6u3TsagOcZoxdLHqiTr5sYqYfDk/8rW vDhmyASmt4mEy5W+V485vu5PGpCisldjCvFdGFEDF6AaDPq7Vw5c5DDQM9Jm2g== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1780428612; 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=X8vwh2QQayNrVvxNfmaK3MO89NLq/s+hP5fyvtBRN0s=; b=fr/Ko6wNFT1nVEGWrYimTacK6qYfBhEm6tsuqOFDii+YND+X4o7D3mUVWWH8QIcrmUlm4U PCwMqqBCU4MrZzDw== 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/nohz] tick/sched: Remove unused fields Cc: Frederic Weisbecker , Thomas Gleixner , Shrikanth Hegde , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20260508131647.43868-11-frederic@kernel.org> References: <20260508131647.43868-11-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: <178042861047.710.10478230149267234498.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Precedence: bulk Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable The following commit has been merged into the timers/nohz branch of tip: Commit-ID: 29807c524d66e27762cdc8992c2cac89b4c3fda9 Gitweb: https://git.kernel.org/tip/29807c524d66e27762cdc8992c2cac89b= 4c3fda9 Author: Frederic Weisbecker AuthorDate: Fri, 08 May 2026 15:16:42 +02:00 Committer: Thomas Gleixner CommitterDate: Tue, 02 Jun 2026 21:27:25 +02:00 tick/sched: Remove unused fields Remove fields after the dyntick-idle cputime migration to scheduler code. Signed-off-by: Frederic Weisbecker Signed-off-by: Thomas Gleixner Tested-by: Shrikanth Hegde Link: https://patch.msgid.link/20260508131647.43868-11-frederic@kernel.org --- kernel/time/tick-sched.h | 12 ------------ kernel/time/timer_list.c | 6 +----- scripts/gdb/linux/timerlist.py | 4 ---- 3 files changed, 1 insertion(+), 21 deletions(-) diff --git a/kernel/time/tick-sched.h b/kernel/time/tick-sched.h index b4a7822..79b9252 100644 --- a/kernel/time/tick-sched.h +++ b/kernel/time/tick-sched.h @@ -44,9 +44,7 @@ struct tick_device { * to resume the tick timer operation in the timeline * when the CPU returns from nohz sleep. * @next_tick: Next tick to be fired when in dynticks mode. - * @idle_jiffies: jiffies at the entry to idle for idle time accounting * @idle_waketime: Time when the idle was interrupted - * @idle_sleeptime_seq: sequence counter for data consistency * @idle_entrytime: Time when the idle call was entered * @last_jiffies: Base jiffies snapshot when next event was last computed * @timer_expires_base: Base time clock monotonic for @timer_expires @@ -55,9 +53,6 @@ struct tick_device { * @idle_expires: Next tick in idle, for debugging purpose only * @idle_calls: Total number of idle calls * @idle_sleeps: Number of idle calls, where the sched tick was stopped - * @idle_exittime: Time when the idle state was left - * @idle_sleeptime: Sum of the time slept in idle with sched tick stopped - * @iowait_sleeptime: Sum of the time slept in idle with sched tick stoppe= d, with IO outstanding * @tick_dep_mask: Tick dependency mask - is set, if someone needs the tick * @check_clocks: Notification mechanism about clocksource changes */ @@ -73,12 +68,10 @@ struct tick_sched { struct hrtimer sched_timer; ktime_t last_tick; ktime_t next_tick; - unsigned long idle_jiffies; ktime_t idle_waketime; unsigned int got_idle_tick; =20 /* Idle entry */ - seqcount_t idle_sleeptime_seq; ktime_t idle_entrytime; =20 /* Tick stop */ @@ -90,11 +83,6 @@ struct tick_sched { unsigned long idle_calls; unsigned long idle_sleeps; =20 - /* Idle exit */ - ktime_t idle_exittime; - ktime_t idle_sleeptime; - ktime_t iowait_sleeptime; - /* Full dynticks handling */ atomic_t tick_dep_mask; =20 diff --git a/kernel/time/timer_list.c b/kernel/time/timer_list.c index 427d7dd..514802d 100644 --- a/kernel/time/timer_list.c +++ b/kernel/time/timer_list.c @@ -152,14 +152,10 @@ static void print_cpu(struct seq_file *m, int cpu, u6= 4 now) P_flag(highres, TS_FLAG_HIGHRES); P_ns(last_tick); P_flag(tick_stopped, TS_FLAG_STOPPED); - P(idle_jiffies); P(idle_calls); P(idle_sleeps); P_ns(idle_entrytime); P_ns(idle_waketime); - P_ns(idle_exittime); - P_ns(idle_sleeptime); - P_ns(iowait_sleeptime); P(last_jiffies); P(next_timer); P_ns(idle_expires); @@ -256,7 +252,7 @@ static void timer_list_show_tickdevices_header(struct s= eq_file *m) =20 static inline void timer_list_header(struct seq_file *m, u64 now) { - SEQ_printf(m, "Timer List Version: v0.10\n"); + SEQ_printf(m, "Timer List Version: v0.11\n"); SEQ_printf(m, "HRTIMER_MAX_CLOCK_BASES: %d\n", HRTIMER_MAX_CLOCK_BASES); SEQ_printf(m, "now at %Ld nsecs\n", (unsigned long long)now); SEQ_printf(m, "\n"); diff --git a/scripts/gdb/linux/timerlist.py b/scripts/gdb/linux/timerlist.py index 9fb3436..744b032 100644 --- a/scripts/gdb/linux/timerlist.py +++ b/scripts/gdb/linux/timerlist.py @@ -90,14 +90,10 @@ def print_cpu(hrtimer_bases, cpu, max_clock_bases): text +=3D f" .{'nohz':15s}: {int(bool(ts['flags'] & TS_FLAG_N= OHZ))}\n" text +=3D f" .{'last_tick':15s}: {ts['last_tick']}\n" text +=3D f" .{'tick_stopped':15s}: {int(bool(ts['flags'] & T= S_FLAG_STOPPED))}\n" - text +=3D f" .{'idle_jiffies':15s}: {ts['idle_jiffies']}\n" text +=3D f" .{'idle_calls':15s}: {ts['idle_calls']}\n" text +=3D f" .{'idle_sleeps':15s}: {ts['idle_sleeps']}\n" text +=3D f" .{'idle_entrytime':15s}: {ts['idle_entrytime']} = nsecs\n" text +=3D f" .{'idle_waketime':15s}: {ts['idle_waketime']} ns= ecs\n" - text +=3D f" .{'idle_exittime':15s}: {ts['idle_exittime']} ns= ecs\n" - text +=3D f" .{'idle_sleeptime':15s}: {ts['idle_sleeptime']} = nsecs\n" - text +=3D f" .{'iowait_sleeptime':15s}: {ts['iowait_sleeptime= ']} nsecs\n" text +=3D f" .{'last_jiffies':15s}: {ts['last_jiffies']}\n" text +=3D f" .{'next_timer':15s}: {ts['next_timer']}\n" text +=3D f" .{'idle_expires':15s}: {ts['idle_expires']} nsec= s\n"