2006-10-18 13:25:38

by Joe Korty

[permalink] [raw]
Subject: [PATCH] 2.6.18-rt6 sysctl conflict

Repair conflict between 2.6.18 and preempt-rt's sysctl(2) addition.

Signed-off-by: Joe Korty <[email protected]>

Index: new/include/linux/sysctl.h
===================================================================
--- new.orig/include/linux/sysctl.h 2006-10-18 09:18:34.000000000 -0400
+++ new/include/linux/sysctl.h 2006-10-18 09:20:03.000000000 -0400
@@ -150,7 +150,7 @@
KERN_IA64_UNALIGNED=72, /* int: ia64 unaligned userland trap enable */
KERN_COMPAT_LOG=73, /* int: print compat layer messages */
KERN_MAX_LOCK_DEPTH=74,
- KERN_TIMEOUT_GRANULARITY=73, /* int: timeout granularity in jiffies */
+ KERN_TIMEOUT_GRANULARITY=75, /* int: timeout granularity in jiffies */
};



2006-10-18 15:52:12

by Ingo Molnar

[permalink] [raw]
Subject: Re: [PATCH] 2.6.18-rt6 sysctl conflict


* Joe Korty <[email protected]> wrote:

> Repair conflict between 2.6.18 and preempt-rt's sysctl(2) addition.

thanks - the -rt tree just got rebased to latest -hrt-dynticks, which
doesnt have the sysctl anymore. (but we might reintroduce it in the
future, i'll pick up your fix in that case.)

Ingo

2006-10-18 16:22:33

by Andi Kleen

[permalink] [raw]
Subject: Re: [PATCH] 2.6.18-rt6 sysctl conflict

Joe Korty <[email protected]> writes:

> Repair conflict between 2.6.18 and preempt-rt's sysctl(2) addition.

In general new sysctl shouldn't get any numbers at all. Just use 0
or so or 999. Distributions and other patches have mangled the
numerical name so excessively that it is fairly useless for
any newer numbers. I would suggest to just drop them.

-Andi