lkml.org 
[lkml]   [2004]   [Aug]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: 2.6.8-rc2-mm2
Andrew Morton wrote:
> - Added Con's staircase CPU scheduler.

Somehow my sysctls ended in /proc/sys/fs/

Thanks dominik for noting you couldn't find them ;)

This patch puts them back in /proc/sys/kernel/ where I had intended them
to be.

Signed-off-by: Con Kolivas <kernel@kolivas.org>

sysctl.c | 32 ++++++++++++++++----------------
1 files changed, 16 insertions(+), 16 deletions(-)
Index: linux-2.6.8-rc2-mm2/kernel/sysctl.c
===================================================================
--- linux-2.6.8-rc2-mm2.orig/kernel/sysctl.c 2004-08-03 01:29:29.000000000 +1000
+++ linux-2.6.8-rc2-mm2/kernel/sysctl.c 2004-08-03 23:01:42.572962387 +1000
@@ -636,6 +636,22 @@
.proc_handler = &proc_unknown_nmi_panic,
},
#endif
+ {
+ .ctl_name = KERN_INTERACTIVE,
+ .procname = "interactive",
+ .data = &sched_interactive,
+ .maxlen = sizeof (int),
+ .mode = 0644,
+ .proc_handler = &proc_dointvec,
+ },
+ {
+ .ctl_name = KERN_COMPUTE,
+ .procname = "compute",
+ .data = &sched_compute,
+ .maxlen = sizeof (int),
+ .mode = 0644,
+ .proc_handler = &proc_dointvec,
+ },
{ .ctl_name = 0 }
};

@@ -927,22 +943,6 @@
.mode = 0644,
.proc_handler = &proc_dointvec,
},
- {
- .ctl_name = KERN_INTERACTIVE,
- .procname = "interactive",
- .data = &sched_interactive,
- .maxlen = sizeof (int),
- .mode = 0644,
- .proc_handler = &proc_dointvec,
- },
- {
- .ctl_name = KERN_COMPUTE,
- .procname = "compute",
- .data = &sched_compute,
- .maxlen = sizeof (int),
- .mode = 0644,
- .proc_handler = &proc_dointvec,
- },
{ .ctl_name = 0 }
};
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2005-03-22 14:04    [W:0.148 / U:0.364 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site