projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
edc90b7
)
Revert "kvmclock: set scheduler clock stable"
author
Paolo Bonzini
<
[email protected]
>
Wed, 13 May 2015 13:59:26 +0000
(15:59 +0200)
committer
Paolo Bonzini
<
[email protected]
>
Tue, 19 May 2015 18:52:37 +0000
(20:52 +0200)
This reverts commit
ff7bbb9c6ab6e6620429daeff39424bbde1a94b4
.
Sasha Levin is seeing odd jump in time values during boot of a KVM guest:
[...]
[ 0.000000] tsc: Detected 2260.998 MHz processor
[
3376355
.247558] Calibrating delay loop (skipped) preset value..
[...]
and bisected them to this commit.
Reported-by: Sasha Levin <
[email protected]
>
Signed-off-by: Paolo Bonzini <
[email protected]
>
arch/x86/kernel/kvmclock.c
patch
|
blob
|
history
diff --git
a/arch/x86/kernel/kvmclock.c
b/arch/x86/kernel/kvmclock.c
index 4e03921761c422e267f72a6091b9099deba27656..42caaef897c86987a75796c1b6edea79d7f164cb 100644
(file)
--- a/
arch/x86/kernel/kvmclock.c
+++ b/
arch/x86/kernel/kvmclock.c
@@
-24,7
+24,6
@@
#include <linux/percpu.h>
#include <linux/hardirq.h>
#include <linux/memblock.h>
-#include <linux/sched.h>
#include <asm/x86_init.h>
#include <asm/reboot.h>
@@
-266,8
+265,6
@@
void __init kvmclock_init(void)
if (kvm_para_has_feature(KVM_FEATURE_CLOCKSOURCE_STABLE_BIT))
pvclock_set_flags(PVCLOCK_TSC_STABLE_BIT);
-
- set_sched_clock_stable();
}
int __init kvm_setup_vsyscall_timeinfo(void)