[lkml]   [2006]   [Jul]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] sysctl: Allow /proc/sys without sys_sysctl
Andi Kleen <> writes:

>> 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.

How so it is the same code in the kernel. Is open much slower than

> You added significant cost to each program startup.

Not each program only the ones that use pthreads.

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

To reduce the noise something like that makes sense. I'm going to
see if I can get glibc to use uname which should have the same effect.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2006-07-12 17:35    [W:0.048 / U:4.392 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site