Magellan Linux

Contents of /trunk/kernel26-magellan/patches-2.6.21-r1/0021-2.6.21-hz-no_default_250.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 196 - (show annotations) (download)
Thu May 17 23:20:52 2007 UTC (16 years, 11 months ago) by niro
File size: 1729 byte(s)
-ver bump to 2.6.21-r1 using:
-linux-2.6.21.1
-2.6.21-ck2 patchset
-fbsplash-0.9.2-r5
-vesafb-tng-1.0-rc2
-squashfs-3.2-r2
-unionfs-2.0-u2
-suspend2-2.2.9.17
-linux-phc-0.2.10
-acpi-dsdt-0.8.4
-fuse-2.6.5
-reiser4-mm
-nvidia-drivers-1.0.9755
-ati-drivers-8.36.5
-ipw3945-1.2.1
- added a fix for sis900 oops on linux-2.6.21

1 Make 250 HZ a value that is not selected by default and give some better
2 recommendations in help.
3
4 Signed-off-by: Con Kolivas <kernel@kolivas.org>
5
6 kernel/Kconfig.hz | 16 ++++++++--------
7 1 file changed, 8 insertions(+), 8 deletions(-)
8
9 Index: linux-2.6.21-ck2/kernel/Kconfig.hz
10 ===================================================================
11 --- linux-2.6.21-ck2.orig/kernel/Kconfig.hz 2007-05-14 19:49:57.000000000 +1000
12 +++ linux-2.6.21-ck2/kernel/Kconfig.hz 2007-05-14 19:49:57.000000000 +1000
13 @@ -13,8 +13,7 @@ choice
14 contention and cacheline bounces as a result of timer interrupts.
15 Note that the timer interrupt occurs on each processor in an SMP
16 environment leading to NR_CPUS * HZ number of timer interrupts
17 - per second.
18 -
19 + per second.Laptops may also show improved battery life.
20
21 config HZ_100
22 bool "100 HZ"
23 @@ -23,13 +22,14 @@ choice
24 with lots of processors that may show reduced performance if
25 too many timer interrupts are occurring.
26
27 - config HZ_250
28 + config HZ_250_NODEFAULT
29 bool "250 HZ"
30 help
31 - 250 Hz is a good compromise choice allowing server performance
32 - while also showing good interactive responsiveness even
33 - on SMP and NUMA systems. If you are going to be using NTSC video
34 - or multimedia, selected 300Hz instead.
35 + 250 HZ is a lousy compromise choice allowing server interactivity
36 + while also showing desktop throughput and no extra power saving on
37 + laptops. Good for when you can't make up your mind.
38 +
39 + Recommend 100 or 1000 instead.
40
41 config HZ_300
42 bool "300 HZ"
43 @@ -50,7 +50,7 @@ endchoice
44 config HZ
45 int
46 default 100 if HZ_100
47 - default 250 if HZ_250
48 + default 250 if HZ_250_NODEFAULT
49 default 300 if HZ_300
50 default 1000 if HZ_1000
51