]> Pileus Git - ~andy/linux/blob - kernel/time/Kconfig
f7e45b9b142b2c8f1fc91c1ef99c2813ea07c914
[~andy/linux] / kernel / time / Kconfig
1 #
2 # Timer subsystem related configuration options
3 #
4
5 # Options selectable by arch Kconfig
6
7 # Watchdog function for clocksources to detect instabilities
8 config CLOCKSOURCE_WATCHDOG
9         bool
10
11 # Architecture has extra clocksource data
12 config ARCH_CLOCKSOURCE_DATA
13         bool
14
15 # Platforms has a persistent clock
16 config HAS_PERSISTENT_CLOCK
17         bool
18         default n
19
20 # Timekeeping vsyscall support
21 config GENERIC_TIME_VSYSCALL
22         bool
23
24 # Timekeeping vsyscall support
25 config GENERIC_TIME_VSYSCALL_OLD
26         bool
27
28 # ktime_t scalar 64bit nsec representation
29 config KTIME_SCALAR
30         bool
31
32 # Old style timekeeping
33 config ARCH_USES_GETTIMEOFFSET
34         bool
35
36 # The generic clock events infrastructure
37 config GENERIC_CLOCKEVENTS
38         bool
39
40 # Migration helper. Builds, but does not invoke
41 config GENERIC_CLOCKEVENTS_BUILD
42         bool
43         default y
44         depends on GENERIC_CLOCKEVENTS
45
46 # Clockevents broadcasting infrastructure
47 config GENERIC_CLOCKEVENTS_BROADCAST
48         bool
49         depends on GENERIC_CLOCKEVENTS
50
51 # Automatically adjust the min. reprogramming time for
52 # clock event device
53 config GENERIC_CLOCKEVENTS_MIN_ADJUST
54         bool
55
56 # Generic update of CMOS clock
57 config GENERIC_CMOS_UPDATE
58         bool
59
60 if GENERIC_CLOCKEVENTS
61 menu "Timers subsystem"
62
63 # Core internal switch. Selected by NO_HZ / HIGH_RES_TIMERS. This is
64 # only related to the tick functionality. Oneshot clockevent devices
65 # are supported independ of this.
66 config TICK_ONESHOT
67         bool
68
69 config NO_HZ
70         bool "Tickless System (Dynamic Ticks)"
71         depends on !ARCH_USES_GETTIMEOFFSET && GENERIC_CLOCKEVENTS
72         select TICK_ONESHOT
73         help
74           This option enables a tickless system: timer interrupts will
75           only trigger on an as-needed basis both when the system is
76           busy and when the system is idle.
77
78 config HIGH_RES_TIMERS
79         bool "High Resolution Timer Support"
80         depends on !ARCH_USES_GETTIMEOFFSET && GENERIC_CLOCKEVENTS
81         select TICK_ONESHOT
82         help
83           This option enables high resolution timer support. If your
84           hardware is not capable then this option only increases
85           the size of the kernel image.
86
87 endmenu
88 endif