lkml.org 
[lkml]   [2007]   [Mar]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 58/59] sysctl: Reimplement the sysctl proc support

* Alexey Dobriyan <adobriyan@gmail.com> wrote:

> On 3/14/07, Ingo Molnar <mingo@elte.hu> wrote:
> > #define PROCNAME_PML "sys/kernel/preempt_max_latency"
> >
> > static __init int latency_fs_init(void)
> > {
> > struct proc_dir_entry *entry;
> >
> > if (!(entry = create_proc_entry(PROCNAME_PML, 0644, NULL)))
> > printk("latency_fs_init(): can't create %s\n",
> >PROCNAME_PML);
> >
> > with your change that broke because beyond /proc/sys/ there are no
> > real proc entries anymore, there's no de->subdir directory for
> > xlate_proc_name() to find. While the latency tracer isnt upstream,
> > this change in semantics does not seem to be intended (the changelog
> > is certainly silent about it).
>
> Use register_sysctl_table() for sysctls.

yes - i just wanted to point out the incompatibility and subtle breakage
that this change caused. I'll now have to convert the current code over
to sysctl_table, which isnt that hard but not trivial either, and i
certainly could make use that time for other purposes.

Ingo
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-03-14 13:27    [W:0.094 / U:0.296 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site