Skip to content

Commit

Permalink
sched: time: Enable timer migration
Browse files Browse the repository at this point in the history
Disabling timer migration takes a hit in power consumption.
Enable it back to save power.

Signed-off-by: Tashfin Shakeer Rhythm <tashfinshakeerrhythm@gmail.com>
Change-Id: Id3750b0005d2fffa66cebef65e45e8b10f3b5c98
Signed-off-by: TogoFire <togofire@mailfence.com>
  • Loading branch information
Tashar02 authored and TogoFire committed May 26, 2023
1 parent e3af90a commit 988a6de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernel/time/timer.c
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ struct timer_base timer_base_deferrable;
static atomic_t deferrable_pending;

#if defined(CONFIG_SMP) && defined(CONFIG_NO_HZ_COMMON)
unsigned int sysctl_timer_migration = 0;
unsigned int sysctl_timer_migration = 1;

void timers_update_migration(bool update_nohz)
{
Expand Down

0 comments on commit 988a6de

Please sign in to comment.