diff options
author | Gaurav Jindal | 2016-07-14 14:04:20 +0200 |
---|---|---|
committer | Thomas Gleixner | 2016-07-19 13:48:24 +0200 |
commit | 1f3b0f8243cb934307f59bd4d8e43b868e61d4d9 (patch) | |
tree | d90d8e192e06c3f7de17bfb7e74a32269b05c910 /arch/x86 | |
parent | clockevents: Make clockevents_subsys static (diff) | |
download | kernel-qcow2-linux-1f3b0f8243cb934307f59bd4d8e43b868e61d4d9.tar.gz kernel-qcow2-linux-1f3b0f8243cb934307f59bd4d8e43b868e61d4d9.tar.xz kernel-qcow2-linux-1f3b0f8243cb934307f59bd4d8e43b868e61d4d9.zip |
tick/nohz: Optimize nohz idle enter
tick_nohz_start_idle is called before checking whether the idle tick can be
stopped. If the tick cannot be stopped, calling tick_nohz_start_idle() is
pointless and just wasting CPU cycles.
Only invoke tick_nohz_start_idle() when can_stop_idle_tick() returns true. A
short one minute observation of the effect on ARM64 shows a reduction of calls
by 1.5% thus optimizing the idle entry sequence.
[tglx: Massaged changelog ]
Co-developed-by: Sanjeev Yadav<sanjeev.yadav@spreadtrum.com>
Signed-off-by: Gaurav Jindal<gaurav.jindal@spreadtrum.com>
Link: http://lkml.kernel.org/r/20160714120416.GB21099@gaurav.jindal@spreadtrum.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86')
0 files changed, 0 insertions, 0 deletions