Skip to content
Snippets Groups Projects
Commit 79b57811 authored by Anton Blanchard's avatar Anton Blanchard Committed by Rafael J. Wysocki
Browse files

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: default avatarAnton Blanchard <anton@samba.org>
Reviewed-by: default avatarVaidyanathan Srinivasan <svaidy@linux.vnet.ibm.com>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent 02018b39
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment