tmp_suning_uos_patched/arch
Mathieu Desnoyers dacb16b1a0 [PATCH] i386 and x86_64 TSC set_cyc2ns_scale imprecision
I just found out that some precision is unnecessarily lost in the
arch/i386/kernel/timers/timer_tsc.c:set_cyc2ns_scale function.  It uses a
cpu_mhz parameter when it could use a cpu_khz.  In the specific case of an
Intel P4 running at 3001.171 Mhz, the truncation to 3001 Mhz leads to an
imprecision of 19 microseconds per second : this is very sad for a timer with
nearly nanosecond accuracy.

Fix the x86_64 architecture too.

Cc: george anzinger <george@mvista.com>
Cc: john stultz <johnstul@us.ibm.com>
Cc: Andi Kleen <ak@muc.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-10-30 17:37:11 -08:00
..
alpha [PATCH] memory hotplug locking: node_size_lock 2005-10-29 21:40:44 -07:00
arm [PATCH] mm: split page table lock 2005-10-29 21:40:42 -07:00
arm26 [PATCH] mm: arches skip ptlock 2005-10-29 21:40:40 -07:00
cris [PATCH] mm: cris v32 mmu_context_lock 2005-10-29 21:40:42 -07:00
frv [PATCH] mm: split page table lock 2005-10-29 21:40:42 -07:00
h8300
i386 [PATCH] i386 and x86_64 TSC set_cyc2ns_scale imprecision 2005-10-30 17:37:11 -08:00
ia64 [PATCH] memory hotplug locking: node_size_lock 2005-10-29 21:40:44 -07:00
m32r [PATCH] memory hotplug locking: node_size_lock 2005-10-29 21:40:44 -07:00
m68k [PATCH] mm: init_mm without ptlock 2005-10-29 21:40:40 -07:00
m68knommu
mips [PATCH] mm: init_mm without ptlock 2005-10-29 21:40:40 -07:00
parisc [PATCH] memory hotplug locking: node_size_lock 2005-10-29 21:40:44 -07:00
ppc [PATCH] mm: init_mm without ptlock 2005-10-29 21:40:40 -07:00
ppc64 [PATCH] memory hotplug: ppc64 specific hot-add functions 2005-10-29 21:40:45 -07:00
s390 [PATCH] mm: init_mm without ptlock 2005-10-29 21:40:40 -07:00
sh [PATCH] mm: i386 sh sh64 ready for split ptlock 2005-10-29 21:40:41 -07:00
sh64 [PATCH] mm: i386 sh sh64 ready for split ptlock 2005-10-29 21:40:41 -07:00
sparc [PATCH] mm: arches skip ptlock 2005-10-29 21:40:40 -07:00
sparc64 [PATCH] mm: arches skip ptlock 2005-10-29 21:40:40 -07:00
um [PATCH] mm: split page table lock 2005-10-29 21:40:42 -07:00
v850
x86_64 [PATCH] i386 and x86_64 TSC set_cyc2ns_scale imprecision 2005-10-30 17:37:11 -08:00
xtensa