Skip to content

Commit

Permalink
XANMOD: kconfig: add 500Hz timer interrupt kernel config option
Browse files Browse the repository at this point in the history
Signed-off-by: Alexandre Frade <admfrade@gmail.com>
  • Loading branch information
xanmod committed Jun 28, 2021
1 parent 149a5b5 commit ab3a0ab
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion kernel/Kconfig.hz
Expand Up @@ -5,7 +5,7 @@

choice
prompt "Timer frequency"
default HZ_250
default HZ_500
help
Allows the configuration of the timer frequency. It is customary
to have the timer interrupt run at 1000 Hz but 100 Hz may be more
Expand Down Expand Up @@ -40,6 +40,13 @@ choice
on SMP and NUMA systems and exactly dividing by both PAL and
NTSC frame rates for video and multimedia work.

config HZ_500
bool "500 HZ"
help
500 Hz is a balanced timer frequency. Provides fast interactivity
on desktops with great smoothness without increasing CPU power
consumption and sacrificing the battery life on laptops.

config HZ_1000
bool "1000 HZ"
help
Expand All @@ -53,6 +60,7 @@ config HZ
default 100 if HZ_100
default 250 if HZ_250
default 300 if HZ_300
default 500 if HZ_500
default 1000 if HZ_1000

config SCHED_HRTICK
Expand Down

0 comments on commit ab3a0ab

Please sign in to comment.