2024-12-10 06:44:25 +03:00
|
|
|
From 74767b639b4e9141b1961764655111a4fd62a5ab Mon Sep 17 00:00:00 2001
|
2024-10-29 05:12:06 +03:00
|
|
|
From: Alexandre Frade <kernel@xanmod.org>
|
|
|
|
Date: Mon, 29 Jan 2018 17:26:15 +0000
|
2024-12-10 06:44:25 +03:00
|
|
|
Subject: [PATCH 10/18] XANMOD: kconfig: add 500Hz timer interrupt kernel
|
2024-10-29 05:12:06 +03:00
|
|
|
config option
|
|
|
|
|
|
|
|
Signed-off-by: Alexandre Frade <kernel@xanmod.org>
|
|
|
|
---
|
|
|
|
kernel/Kconfig.hz | 8 ++++++++
|
|
|
|
1 file changed, 8 insertions(+)
|
|
|
|
|
|
|
|
--- a/kernel/Kconfig.hz
|
|
|
|
+++ b/kernel/Kconfig.hz
|
|
|
|
@@ -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
|
|
|
|
@@ -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
|