aboutsummaryrefslogtreecommitdiffstats
path: root/arch/alpha/Kconfig
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2013-07-12 19:15:56 -0400
committerMatt Turner <mattst88@gmail.com>2013-11-16 19:33:13 -0500
commitfddd87d6e135924b92499917bace103e46c22d00 (patch)
tree23bbe6a01a32c0ea88f7c2180dbd1f461d822c76 /arch/alpha/Kconfig
parent994dcf7055df88623d25f3593b931a018a76b502 (diff)
alpha: Allow HZ to be configured
With the 1024Hz default, we spend 50% of QEMU emulation processing timer interrupts. Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'arch/alpha/Kconfig')
-rw-r--r--arch/alpha/Kconfig36
1 files changed, 34 insertions, 2 deletions
diff --git a/arch/alpha/Kconfig b/arch/alpha/Kconfig
index 51cc8c353164..a67b971c830a 100644
--- a/arch/alpha/Kconfig
+++ b/arch/alpha/Kconfig
@@ -627,9 +627,41 @@ config VERBOSE_MCHECK_ON
627 627
628 Take the default (1) unless you want more control or more info. 628 Take the default (1) unless you want more control or more info.
629 629
630choice
631 prompt "Timer interrupt frequency (HZ)?"
632 default HZ_128 if ALPHA_QEMU
633 default HZ_1200 if ALPHA_RAWHIDE
634 default HZ_1024
635 ---help---
636 The frequency at which timer interrupts occur. A high frequency
637 minimizes latency, whereas a low frequency minimizes overhead of
638 process accounting. The later effect is especially significant
639 when being run under QEMU.
640
641 Note that some Alpha hardware cannot change the interrupt frequency
642 of the timer. If unsure, say 1024 (or 1200 for Rawhide).
643
644 config HZ_32
645 bool "32 Hz"
646 config HZ_64
647 bool "64 Hz"
648 config HZ_128
649 bool "128 Hz"
650 config HZ_256
651 bool "256 Hz"
652 config HZ_1024
653 bool "1024 Hz"
654 config HZ_1200
655 bool "1200 Hz"
656endchoice
657
630config HZ 658config HZ
631 int 659 int
632 default 1200 if ALPHA_RAWHIDE 660 default 32 if HZ_32
661 default 64 if HZ_64
662 default 128 if HZ_128
663 default 256 if HZ_256
664 default 1200 if HZ_1200
633 default 1024 665 default 1024
634 666
635source "drivers/pci/Kconfig" 667source "drivers/pci/Kconfig"