Re: [PATCH] Get rid of /proc/sys/debug

From: Stephen Hemminger
Date: Wed Jun 07 2006 - 17:48:45 EST


On Wed, 7 Jun 2006 14:45:12 -0700
"Randy.Dunlap" <rdunlap@xxxxxxxxxxxx> wrote:

> On Wed, 7 Jun 2006 14:22:32 -0700 Stephen Hemminger wrote:
>
> > Another empty table with no entries.
>
> Did you check on x86_64? I see this:
>
> rddunlap@midway:/var/linsrc/linux-2617-rc6> ll /proc/sys/debug
> -rw-r--r-- 1 root root 0 2006-06-07 14:44 exception-trace
>
> from arch/x86_64/mm/init.c

It looks like if we left the CTL_DEBUG enum, then the x86_64 code would
still work because it registers starting at /proc/sys so the debug directory
would then be created only if needed.

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