Re: 2.6.8-rc2-mm2

Con Kolivas
2004-08-03T13:14:33Z

[-- Attachment #1.1: Type: text/plain, Size: 394 bytes --]

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(-)

[-- Attachment #1.2: fix-staircase-proc --]
[-- Type: text/plain, Size: 1195 bytes --]

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 }
};

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 256 bytes --]