]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - include/linux/tick.h
nohz: Track last do_timer() cpu
[karo-tx-linux.git] / include / linux / tick.h
index 8dc082194b226a3485535fa09646e6f31ccc4558..d2ae79e21be3a4aee4fe1cd8dde51d272d7b97dc 100644 (file)
@@ -43,6 +43,7 @@ enum tick_nohz_mode {
  * @idle_exittime:     Time when the idle state was left
  * @idle_sleeptime:    Sum of the time slept in idle with sched tick stopped
  * @sleep_length:      Duration of the current idle sleep
+ * @do_timer_lst:      CPU was the last one doing do_timer before going idle
  */
 struct tick_sched {
        struct hrtimer                  sched_timer;
@@ -64,6 +65,7 @@ struct tick_sched {
        unsigned long                   last_jiffies;
        unsigned long                   next_jiffies;
        ktime_t                         idle_expires;
+       int                             do_timer_last;
 };
 
 extern void __init tick_init(void);