mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-07-21 22:47:51 -04:00
tick/sched: Remove unused fields
Remove fields after the dyntick-idle cputime migration to scheduler code. Signed-off-by: Frederic Weisbecker <frederic@kernel.org> Signed-off-by: Thomas Gleixner <tglx@kernel.org> Tested-by: Shrikanth Hegde <sshegde@linux.ibm.com> Link: https://patch.msgid.link/20260508131647.43868-11-frederic@kernel.org
This commit is contained in:
committed by
Thomas Gleixner
parent
a5fe724e20
commit
29807c524d
@@ -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 stopped, 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;
|
||||
|
||||
/* Idle entry */
|
||||
seqcount_t idle_sleeptime_seq;
|
||||
ktime_t idle_entrytime;
|
||||
|
||||
/* Tick stop */
|
||||
@@ -90,11 +83,6 @@ struct tick_sched {
|
||||
unsigned long idle_calls;
|
||||
unsigned long idle_sleeps;
|
||||
|
||||
/* Idle exit */
|
||||
ktime_t idle_exittime;
|
||||
ktime_t idle_sleeptime;
|
||||
ktime_t iowait_sleeptime;
|
||||
|
||||
/* Full dynticks handling */
|
||||
atomic_t tick_dep_mask;
|
||||
|
||||
|
||||
@@ -152,14 +152,10 @@ static void print_cpu(struct seq_file *m, int cpu, u64 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 seq_file *m)
|
||||
|
||||
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");
|
||||
|
||||
@@ -90,14 +90,10 @@ def print_cpu(hrtimer_bases, cpu, max_clock_bases):
|
||||
text += f" .{'nohz':15s}: {int(bool(ts['flags'] & TS_FLAG_NOHZ))}\n"
|
||||
text += f" .{'last_tick':15s}: {ts['last_tick']}\n"
|
||||
text += f" .{'tick_stopped':15s}: {int(bool(ts['flags'] & TS_FLAG_STOPPED))}\n"
|
||||
text += f" .{'idle_jiffies':15s}: {ts['idle_jiffies']}\n"
|
||||
text += f" .{'idle_calls':15s}: {ts['idle_calls']}\n"
|
||||
text += f" .{'idle_sleeps':15s}: {ts['idle_sleeps']}\n"
|
||||
text += f" .{'idle_entrytime':15s}: {ts['idle_entrytime']} nsecs\n"
|
||||
text += f" .{'idle_waketime':15s}: {ts['idle_waketime']} nsecs\n"
|
||||
text += f" .{'idle_exittime':15s}: {ts['idle_exittime']} nsecs\n"
|
||||
text += f" .{'idle_sleeptime':15s}: {ts['idle_sleeptime']} nsecs\n"
|
||||
text += f" .{'iowait_sleeptime':15s}: {ts['iowait_sleeptime']} nsecs\n"
|
||||
text += f" .{'last_jiffies':15s}: {ts['last_jiffies']}\n"
|
||||
text += f" .{'next_timer':15s}: {ts['next_timer']}\n"
|
||||
text += f" .{'idle_expires':15s}: {ts['idle_expires']} nsecs\n"
|
||||
|
||||
Reference in New Issue
Block a user