Re: [PATCH] sysctl: Allow /proc/sys without sys_sysctl

From: Andi Kleen
Date: Wed Jul 12 2006 - 10:50:42 EST



> So it will correctly handle that sysctl being compiled out, and
> the fallback to using /proc. The code seems to have been
> doing that since it was added to glibc in 2000.

Using /proc is extremly slow for this. You added significant
cost to each program startup.

I still think it's a good idea to simulate that sysctl and printk
the others.

-Andi
-
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/