]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
Revert "x86: CPU: Fix up "cpu MHz" in /proc/cpuinfo"
authorLinus Torvalds <torvalds@linux-foundation.org>
Fri, 10 Nov 2017 19:19:11 +0000 (11:19 -0800)
committerThadeu Lima de Souza Cascardo <cascardo@canonical.com>
Thu, 16 Nov 2017 21:05:40 +0000 (19:05 -0200)
commit8f27ff5c9e36b3b82dcfcc73d804178464b6b535
tree258d013fe50e7345e705cd4e8a61671c1f95c809
parent03fabae5593a6814906dc2d7c4ac4d1c073bebb0
Revert "x86: CPU: Fix up "cpu MHz" in /proc/cpuinfo"

BugLink: http://bugs.launchpad.net/bugs/1732726
commit ea0ee33988778fb73e4f45e7c73fb735787e2f32 upstream.

This reverts commit 941f5f0f6ef5338814145cf2b813cf1f98873e2f.

Sadly, it turns out that we really can't just do the cross-CPU IPI to
all CPU's to get their proper frequencies, because it's much too
expensive on systems with lots of cores.

So we'll have to revert this for now, and revisit it using a smarter
model (probably doing one system-wide IPI at open time, and doing all
the frequency calculations in parallel).

Reported-by: WANG Chao <chao.wang@ucloud.cn>
Reported-by: Ingo Molnar <mingo@kernel.org>
Cc: Rafael J Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@canonical.com>
arch/x86/kernel/cpu/Makefile
arch/x86/kernel/cpu/aperfmperf.c
arch/x86/kernel/cpu/proc.c