On Tue, Nov 16, 2010 at 05:41:14AM +0000, David Holland wrote: > On Tue, Nov 16, 2010 at 10:20:46AM +0900, Masao Uebayashi wrote: > > Another thing: > > > > - We should provide sysconf() for kernel modules (device drivers) too, > > otherwise we have to expose unnecessary symbols (uvmexp). > > Why not the complete sysctl tree?
sysconf() is only to get constants, right? I think it can be converted to macros & optimized away as a constant for statically configured systems.