Magellan Linux

Contents of /trunk/kernel26-alx/patches-2.6.20-r6/0012-2.6.20-hz-default_1000.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1175 - (show annotations) (download)
Thu Oct 14 12:15:46 2010 UTC (13 years, 6 months ago) by niro
File size: 2047 byte(s)
-2.6.20-alx-r6 new magellan 0.5.2 kernel
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.20-ck1/kernel/Kconfig.hz
12 ===================================================================
13 --- linux-2.6.20-ck1.orig/kernel/Kconfig.hz 2007-02-05 22:52:04.000000000 +1100
14 +++ linux-2.6.20-ck1/kernel/Kconfig.hz 2007-02-16 19:01:32.000000000 +1100
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.20-ck1/arch/i386/defconfig
25 ===================================================================
26 --- linux-2.6.20-ck1.orig/arch/i386/defconfig 2007-02-05 22:51:59.000000000 +1100
27 +++ linux-2.6.20-ck1/arch/i386/defconfig 2007-02-16 19:01:32.000000000 +1100
28 @@ -205,10 +205,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_RELOCATABLE is not set
42 Index: linux-2.6.20-ck1/arch/x86_64/defconfig
43 ===================================================================
44 --- linux-2.6.20-ck1.orig/arch/x86_64/defconfig 2007-02-05 22:52:00.000000000 +1100
45 +++ linux-2.6.20-ck1/arch/x86_64/defconfig 2007-02-16 19:01:32.000000000 +1100
46 @@ -172,10 +172,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