Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: sysctl locations (was: CVS commit: syssrc)



On Sat, Mar 25, 2000 at 09:46:48AM +1100, Simon Burge wrote:
> > Though, placing it in arch/mips seems rather random. Wouldn't it
> > be better to just put all the machdep sysctl's in <sys/sysctl.h>?
> 
> Since we only need the machdep definitions for everything in one
> MACHINE_ARCH, there's no need to clutter the completely MI sysctl
> header.  It might be easier to think in terms of the recent discussion
> on one distrib set per MACHINE_ARCH instead of one per MACHINE.

I agree with that goal. It just seems to me that the interface
doesn't really have anything to do with the MACHINE_ARCH, the
"incidental" ABI compatibility is better provided by the MI
kernel. (There are also a few things to share among many archs,
like {console,root}_device.)

> Ick, that doesn't sound too clear on re-reading it but I hope you get
> the gist of what I mean...

Yep :-)


-- 
Soren



Home | Main Index | Thread Index | Old Index