Magellan Linux

Contents of /trunk/kernel26-magellan/patches-2.6.21-r4/0020-2.6.21-hz-default_1000.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 222 - (show annotations) (download)
Tue Jun 12 08:03:28 2007 UTC (16 years, 10 months ago) by niro
File size: 2046 byte(s)
files for 2.6.21-magellan-r4

1 Set HZ to 1000 by default which is a better choice for normal desktops.
2
3 Signed-off-by: Con Kolivas <kernel@kolivas.org>
4
5 ---
6 arch/i386/defconfig | 6 +++---
7 arch/x86_64/defconfig | 6 +++---
8 kernel/Kconfig.hz | 2 +-
9 3 files changed, 7 insertions(+), 7 deletions(-)
10
11 Index: linux-2.6.21-ck2/kernel/Kconfig.hz
12 ===================================================================
13 --- linux-2.6.21-ck2.orig/kernel/Kconfig.hz 2007-05-14 19:49:18.000000000 +1000
14 +++ linux-2.6.21-ck2/kernel/Kconfig.hz 2007-05-14 19:49:57.000000000 +1000
15 @@ -4,7 +4,7 @@
16
17 choice
18 prompt "Timer frequency"
19 - default HZ_250
20 + default HZ_1000
21 help
22 Allows the configuration of the timer frequency. It is customary
23 to have the timer interrupt run at 1000 Hz but 100 Hz may be more
24 Index: linux-2.6.21-ck2/arch/i386/defconfig
25 ===================================================================
26 --- linux-2.6.21-ck2.orig/arch/i386/defconfig 2007-05-14 19:49:18.000000000 +1000
27 +++ linux-2.6.21-ck2/arch/i386/defconfig 2007-05-14 19:49:57.000000000 +1000
28 @@ -214,10 +214,10 @@ CONFIG_MTRR=y
29 # CONFIG_IRQBALANCE is not set
30 CONFIG_SECCOMP=y
31 # CONFIG_HZ_100 is not set
32 -CONFIG_HZ_250=y
33 +# CONFIG_HZ_250 is not set
34 # CONFIG_HZ_300 is not set
35 -# CONFIG_HZ_1000 is not set
36 -CONFIG_HZ=250
37 +CONFIG_HZ_1000=y
38 +CONFIG_HZ=1000
39 # CONFIG_KEXEC is not set
40 # CONFIG_CRASH_DUMP is not set
41 CONFIG_PHYSICAL_START=0x100000
42 Index: linux-2.6.21-ck2/arch/x86_64/defconfig
43 ===================================================================
44 --- linux-2.6.21-ck2.orig/arch/x86_64/defconfig 2007-05-14 19:49:18.000000000 +1000
45 +++ linux-2.6.21-ck2/arch/x86_64/defconfig 2007-05-14 19:49:57.000000000 +1000
46 @@ -178,10 +178,10 @@ CONFIG_PHYSICAL_START=0x200000
47 CONFIG_SECCOMP=y
48 # CONFIG_CC_STACKPROTECTOR is not set
49 # CONFIG_HZ_100 is not set
50 -CONFIG_HZ_250=y
51 +# CONFIG_HZ_250 is not set
52 # CONFIG_HZ_300 is not set
53 -# CONFIG_HZ_1000 is not set
54 -CONFIG_HZ=250
55 +CONFIG_HZ_1000=y
56 +CONFIG_HZ=1000
57 # CONFIG_REORDER is not set
58 CONFIG_K8_NB=y
59 CONFIG_GENERIC_HARDIRQS=y