diff options
author | Anton Blanchard <anton@samba.org> | 2017-04-03 23:54:12 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2017-04-19 23:17:18 +0200 |
commit | 79b578111febef642143669254b243ffbcf64ea9 (patch) | |
tree | b48a6b2d200392ee6103da2388bbb6676443f942 /drivers/cpuidle/cpuidle-calxeda.c | |
parent | cpuidle: cpuidle-cps: remove unused variable (diff) | |
download | linux-79b578111febef642143669254b243ffbcf64ea9.tar.xz linux-79b578111febef642143669254b243ffbcf64ea9.zip |
cpuidle: powernv: Don't bounce between low and very low thread priority
The core of snooze_loop() continually bounces between low and very
low thread priority. Changing thread priorities is an expensive
operation that can negatively impact other threads on a core.
All CPUs that can run PowerNV support very low priority, so we can
avoid the change completely.
Signed-off-by: Anton Blanchard <anton@samba.org>
Reviewed-by: Vaidyanathan Srinivasan <svaidy@linux.vnet.ibm.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/cpuidle/cpuidle-calxeda.c')
0 files changed, 0 insertions, 0 deletions