Skip to contentSkip to conversation

Longhaul - Need timer tick

PATCH In review Rafał Bilski 1 participant 2 messages Mar 2, 2007 – Mar 5, 2007

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Longhaul - Need timer tick

There is no support for dynamic ticks in Longhaul. Current code is assuming that timer tick is present and constant.

---
 arch/i386/kernel/cpu/cpufreq/Kconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/i386/kernel/cpu/cpufreq/Kconfig +1 -1
@@ -206,7 +206,7 @@ config X86_LONGRUN
 config X86_LONGHAUL
 	tristate "VIA Cyrix III Longhaul"
 	select CPU_FREQ_TABLE
-	depends on ACPI_PROCESSOR
+	depends on ACPI_PROCESSOR && !NO_HZ
 	help
 	  This adds the CPUFreq driver for VIA Samuel/CyrixIII,
 	  VIA Cyrix Samuel/C3, VIA Cyrix Ezra and VIA Cyrix Ezra-T

----------------------------------------------------------------------
Jestes kierowca? To poczytaj! >>> http://link.interia.pl/f199e

#1 lore raw
Quoted 3 lines

There is no support for dynamic ticks in Longhaul. Current code is assuming that timer tick is present and constant.

Please ignore this patch. Somehow NO_HZ option don't change anything. Average tick frequency is reduced to 20% for me (uptime / interrupt 0 count), but somehow when Longhaul is changing CPU frequency it is always equal to value set by "Timer frequency" option. Probably this is how NO_HZ author want it to work. Anyway, tested (with help of ACPI PM timer) and even if help for this option may sound scary for me, there is no change in transition latency. At least on my system.

Sorry
Rafa³

----------------------------------------------------------------------
Oficjalne konto pocztowe europejskich internautow!

Quoted 1 line
Quoted 1 line
Quoted 1 line

http://link.interia.pl/f19e8