cpuidle: Default to ladder governor on ticking systems
authorJean Delvare <jdelvare@suse.de>
Mon, 11 Jan 2016 16:41:53 +0000 (17:41 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 15 Jan 2016 21:36:19 +0000 (22:36 +0100)
commit66a5f6b63996d8aa7cbe8841b38297bf3b338194
tree2ac1b2bc7f7eb482ca2a5b12982f45e275e3de16
parent46373a15f65fe862f31c19a484acdf551f2b442f
cpuidle: Default to ladder governor on ticking systems

The menu governor is currently the default on all systems. However the
documentation claims that the ladder governor is preferred on ticking
systems. So bump the rating of the ladder governor when NO_HZ is
disabled, or when booting with nohz=off.

This fixes the first half of kernel BZ #65531.

Link: https://bugzilla.kernel.org/show_bug.cgi?id=65531
Signed-off-by: Jean Delvare <jdelvare@suse.de>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpuidle/governors/ladder.c